From: mfranz Date: Sun, 18 Jan 2009 08:27:58 +0000 (+0000) Subject: disable dragging margins on non resizable dialogs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa6e5fb52857bdda6e1ce44c596654d46c73ebd0;p=flightgear.git disable dragging margins on non resizable dialogs --- diff --git a/src/GUI/dialog.cxx b/src/GUI/dialog.cxx index 9db2e77eb..f4bc829a3 100644 --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -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;