Windows: improve moving window across screens with distinct scale factors - cont'd

This commit is contained in:
ManoloFLTK 2026-01-10 12:36:23 +01:00
parent fc3e6a1c53
commit e59a5dc804

View File

@ -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