flickering in minigui

This commit is contained in:
Adam D. Ruppe 2017-11-21 12:55:15 -05:00
parent 325de11985
commit 19ca76281d
1 changed files with 1 additions and 1 deletions

View File

@ -6651,7 +6651,7 @@ version(Windows) {
break;
}
hwnd = CreateWindow(cn.ptr, toWStringz(title), style,
hwnd = CreateWindow(cn.ptr, toWStringz(title), style | WS_CLIPCHILDREN, // the clip children helps avoid flickering in minigui and doesn't seem to harm other use (mostly, sdpy is no child windows anyway) sooo i think it is ok
CW_USEDEFAULT, CW_USEDEFAULT, width, height,
parent is null ? null : parent.impl.hwnd, null, hInstance, null);