summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_win32.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index cbc5fbd83..7d2ebeb2b 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -1280,6 +1280,10 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
SetWindowPos(hWnd, NULL, lParam_rect->left, lParam_rect->top,
lParam_rect->right - lParam_rect->left,
lParam_rect->bottom - lParam_rect->top, flags);
+ if (ns >= 0) {
+ scale = Fl::screen_driver()->scale(ns);
+ EnumChildWindows(hWnd, child_window_cb, (LPARAM)&scale);
+ }
}
}
return 0;
@@ -1745,6 +1749,7 @@ content key keyboard layout
case WM_CAPTURECHANGED:
moving_window = false;
+ resize_bug_fix = 0;
return 0;
case WM_MOVE: {