From e59a5dc8044deaa71b089e040fde536310073cfd Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 10 Jan 2026 12:36:23 +0100 Subject: Windows: improve moving window across screens with distinct scale factors - cont'd --- src/Fl_win32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3