From 8a68fa12993848d20864a69d73ce320593a68429 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sat, 18 Mar 2017 12:36:44 +0900 Subject: win32: prevent flickering --- win32/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/main.c') diff --git a/win32/main.c b/win32/main.c index 8a5485e..e312253 100644 --- a/win32/main.c +++ b/win32/main.c @@ -808,7 +808,7 @@ int CALLBACK wWinMain(HINSTANCE hinst, HINSTANCE hpinst, g.hinst = hinst; g.heap = GetProcessHeap(); ATOM wcatom = register_class(g.hinst); - DWORD style = WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX; + DWORD style = WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_CLIPCHILDREN; DWORD exStyle = 0; RECT wr; wr.left = 0; -- cgit v1.2.3