2nd try at fullscreen, disable top most

main
Dominik Madarász 2024-08-15 18:56:45 +02:00
parent 4760e3ea72
commit be8b5689a5
3 changed files with 3 additions and 3 deletions

View File

@ -55331,7 +55331,7 @@ void _glfwPlatformSetWindowDecorated(_GLFWwindow* window, GLFWbool enabled)
void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled) void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled)
{ {
const HWND after = enabled ? HWND_TOPMOST : HWND_NOTOPMOST; const HWND after = HWND_NOTOPMOST;
SetWindowPos(window->win32.handle, after, 0, 0, 0, 0, SetWindowPos(window->win32.handle, after, 0, 0, 0, 0,
SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE); SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);
} }

View File

@ -22348,7 +22348,7 @@ void _glfwPlatformSetWindowDecorated(_GLFWwindow* window, GLFWbool enabled)
void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled) void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled)
{ {
const HWND after = enabled ? HWND_TOPMOST : HWND_NOTOPMOST; const HWND after = HWND_NOTOPMOST;
SetWindowPos(window->win32.handle, after, 0, 0, 0, 0, SetWindowPos(window->win32.handle, after, 0, 0, 0, 0,
SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE); SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);
} }

View File

@ -36382,7 +36382,7 @@ void _glfwPlatformSetWindowDecorated(_GLFWwindow* window, GLFWbool enabled)
void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled) void _glfwPlatformSetWindowFloating(_GLFWwindow* window, GLFWbool enabled)
{ {
const HWND after = enabled ? HWND_TOPMOST : HWND_NOTOPMOST; const HWND after = HWND_NOTOPMOST;
SetWindowPos(window->win32.handle, after, 0, 0, 0, 0, SetWindowPos(window->win32.handle, after, 0, 0, 0, 0,
SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE); SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);
} }