From 8d02983b4db5d29320d5a754b9debc64b3f1dd14 Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Mon, 3 Jul 2017 21:29:17 +1000 Subject: w32_common: use SWP_NOSENDCHANGING when resizing child This seems to reduce glitches when resizing a --wid program (or it could be a placebo.) Since we don't need the WM_WINDOWPOSCHANGING handler in --wid mode, it should be fine. --- video/out/w32_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 0a825900a4..fedd03965c 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -1168,7 +1168,7 @@ static void resize_child_win(HWND parent) if (EqualRect(&rm, &rp)) return; SetWindowPos(child, NULL, 0, 0, rp.right, rp.bottom, SWP_ASYNCWINDOWPOS | - SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOOWNERZORDER); + SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_NOSENDCHANGING); } static LRESULT CALLBACK parent_win_hook(int nCode, WPARAM wParam, LPARAM lParam) -- cgit v1.2.3