From aa6e5fb52857bdda6e1ce44c596654d46c73ebd0 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 18 Jan 2009 08:27:58 +0000 Subject: [PATCH] disable dragging margins on non resizable dialogs --- 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 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;