fix fullscreen
parent
ef6210040a
commit
4760e3ea72
|
@ -50176,6 +50176,10 @@ void _glfwInputWindowFocus(_GLFWwindow* window, GLFWbool focused)
|
|||
if (window->callbacks.focus)
|
||||
window->callbacks.focus((GLFWwindow*) window, focused);
|
||||
|
||||
// zak: disable top-most if we lose focus
|
||||
if (window->monitor)
|
||||
_glfwPlatformSetWindowFloating(window, focused);
|
||||
|
||||
if (!focused)
|
||||
{
|
||||
int key, button;
|
||||
|
|
|
@ -17193,6 +17193,10 @@ void _glfwInputWindowFocus(_GLFWwindow* window, GLFWbool focused)
|
|||
if (window->callbacks.focus)
|
||||
window->callbacks.focus((GLFWwindow*) window, focused);
|
||||
|
||||
// zak: disable top-most if we lose focus
|
||||
if (window->monitor)
|
||||
_glfwPlatformSetWindowFloating(window, focused);
|
||||
|
||||
if (!focused)
|
||||
{
|
||||
int key, button;
|
||||
|
|
|
@ -31227,6 +31227,10 @@ void _glfwInputWindowFocus(_GLFWwindow* window, GLFWbool focused)
|
|||
if (window->callbacks.focus)
|
||||
window->callbacks.focus((GLFWwindow*) window, focused);
|
||||
|
||||
// zak: disable top-most if we lose focus
|
||||
if (window->monitor)
|
||||
_glfwPlatformSetWindowFloating(window, focused);
|
||||
|
||||
if (!focused)
|
||||
{
|
||||
int key, button;
|
||||
|
|
Loading…
Reference in New Issue