Added style WS_VISIBLE to fix mode change issues with focus.

This commit is contained in:
Doug Binks 2014-06-24 17:32:33 +02:00
parent cdaec8a93f
commit 53df5422b8

View File

@ -39,7 +39,7 @@
// //
static getWindowStyle(const _GLFWwndconfig* wndconfig) 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) if (wndconfig->decorated && wndconfig->monitor == NULL)
{ {