]> git.mxchange.org Git - flightgear.git/commitdiff
disable dragging margins on non resizable dialogs
authormfranz <mfranz>
Sun, 18 Jan 2009 08:27:58 +0000 (08:27 +0000)
committerTim Moore <timoore@redhat.com>
Sun, 18 Jan 2009 22:21:44 +0000 (23:21 +0100)
src/GUI/dialog.cxx

index 9db2e77eb58a79586c787e2dd57c59b782c03604..f4bc829a3075300f40c5893999f47b6a463021ee 100644 (file)
@@ -232,7 +232,7 @@ int fgPopup::checkHit(int button, int updown, int x, int y)
         };
 
         _resizing = 0;
-        if (!global_drag) {
+        if (!global_drag && _resizable) {
             int hmargin = global_resize ? _dlgW / 3 : 10;
             int vmargin = global_resize ? _dlgH / 3 : 10;