2nd try at fullscreen, disable top most
parent
4760e3ea72
commit
be8b5689a5
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue