From: mfranz Date: Sun, 11 Jan 2009 16:37:51 +0000 (+0000) Subject: fix mouse flicker/disappearing problem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a59ae7cb9269ede966050eea6d4ed8d9ad052293;p=flightgear.git fix mouse flicker/disappearing problem --- diff --git a/src/GUI/dialog.cxx b/src/GUI/dialog.cxx index 7a011a6e0..f7b4638f1 100644 --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -294,9 +294,9 @@ int fgPopup::checkHit(int button, int updown, int x, int y) setPosition(x + _dlgX - _startX, y + _dlgY - _startY); } - } else { - _dragging = false; + } else if (_dragging) { fgSetMouseCursor(_start_cursor); + _dragging = false; } return result; }