From 19ca76281dcb39eb86990062eee6f35289c22cf4 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Tue, 21 Nov 2017 12:55:15 -0500 Subject: [PATCH] flickering in minigui --- simpledisplay.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpledisplay.d b/simpledisplay.d index d6264d5..3aee31f 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -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);