From a90389044dab28ba932e5cf420b57a94ce76a4fd Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 26 May 2013 18:00:38 +0200 Subject: [PATCH] Fixed styles for undecorated windows on Windows. --- src/win32_window.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/win32_window.c b/src/win32_window.c index 82611051..d484958b 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -788,10 +788,7 @@ static int createWindow(_GLFWwindow* window, } } else - { - window->win32.dwStyle = WS_POPUP; - window->win32.dwExStyle = 0; - } + window->win32.dwStyle |= WS_POPUP; xpos = CW_USEDEFAULT; ypos = CW_USEDEFAULT;