summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2026-01-10 12:36:23 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2026-01-10 12:36:23 +0100
commite59a5dc8044deaa71b089e040fde536310073cfd (patch)
tree9686a09eee4d4f10ff9014f9d3c931d67d1065a7
parentfc3e6a1c5328b090e48d5dd5a80b1d77fdd461a7 (diff)
Windows: improve moving window across screens with distinct scale factors - cont'd
-rw-r--r--src/Fl_win32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 7d2ebeb2b..da1db6455 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -1756,7 +1756,7 @@ content key keyboard layout
if (IsIconic(hWnd) || window->parent()) {
break;
}
- resize_bug_fix = window;
+ if (moving_window) resize_bug_fix = window;
POINTS pts = MAKEPOINTS(lParam);
int nx = pts.x, ny = pts.y;
// detect when window centre changes screen