mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 13:20:58 +00:00
FIxed issue in previous commit.
This commit is contained in:
parent
2c5a381675
commit
08b91c5516
@ -1216,7 +1216,7 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
|
|||||||
DWORD styleMod = (window->visible || monitor) ? WS_VISIBLE : 0;
|
DWORD styleMod = (window->visible || monitor) ? WS_VISIBLE : 0;
|
||||||
|
|
||||||
SetWindowLongPtr(window->win32.handle,
|
SetWindowLongPtr(window->win32.handle,
|
||||||
GWL_STYLE, window->win32.dwStyle | WS_VISIBLE);
|
GWL_STYLE, window->win32.dwStyle | styleMod);
|
||||||
SetWindowLongPtr(window->win32.handle,
|
SetWindowLongPtr(window->win32.handle,
|
||||||
GWL_EXSTYLE, window->win32.dwExStyle);
|
GWL_EXSTYLE, window->win32.dwExStyle);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user