浏览代码

Fixed styles for undecorated windows on Windows.

Camilla Berglund 12 年之前
父节点
当前提交
a90389044d
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      src/win32_window.c

+ 1 - 4
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;