1
0
Fork 0

disable dragging margins on non resizable dialogs

This commit is contained in:
mfranz 2009-01-18 08:27:58 +00:00 committed by Tim Moore
parent 390c1f4d1f
commit aa6e5fb528

View file

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