From 53df5422b8432216ca5f21831f3e53e484b69426 Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Tue, 24 Jun 2014 17:32:33 +0200 Subject: [PATCH] Added style WS_VISIBLE to fix mode change issues with focus. --- src/win32_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32_window.c b/src/win32_window.c index 6d39c3edf..c013e409c 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -39,7 +39,7 @@ // static getWindowStyle(const _GLFWwndconfig* wndconfig) { - DWORD style = WS_CLIPSIBLINGS | WS_CLIPCHILDREN; + DWORD style = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_VISIBLE; if (wndconfig->decorated && wndconfig->monitor == NULL) {