From 2e1cfcb83de72e565c2ad850afbcd29c684d8b7f Mon Sep 17 00:00:00 2001 From: mfranz Date: Sat, 24 Jan 2009 23:22:58 +0000 Subject: [PATCH] fgPopup::checkHit(): revert r1.103 (consume mouse hits by default) Can't reproduce the problem that r1.103 meant to fix, but it caused another problem: MMB dragging events weren't passed, so e.g. power lever control in the bo105 stopped working. --- src/GUI/dialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/dialog.cxx b/src/GUI/dialog.cxx index 9ea0b4451..203dce26f 100644 --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -192,7 +192,7 @@ puObject *fgPopup::getActiveInputField(puObject *object) */ int fgPopup::checkHit(int button, int updown, int x, int y) { - int result = 1; + int result = 0; if (updown != PU_DRAG && !_dragging) result = puPopup::checkHit(button, updown, x, y);