aboutsummaryrefslogtreecommitdiff
path: root/win32/main.c
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-03-18 12:36:44 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-03-18 12:36:44 +0900
commit8a68fa12993848d20864a69d73ce320593a68429 (patch)
tree7e141c34ca6919cae40b9632ef2f4f6ba58554cf /win32/main.c
parent33b2be2644d959583153b9a9bc29ef9572c041c1 (diff)
win32: prevent flickering
Diffstat (limited to 'win32/main.c')
-rw-r--r--win32/main.c2
1 files changed, 1 insertions, 1 deletions
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;