mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Wayland: Only auto-iconify fullscreen windows
Thanks to kwin for exposing a bug here!
This commit is contained in:
parent
36ce73bbfd
commit
edf0a07174
@ -641,7 +641,7 @@ static void xdgToplevelHandleConfigure(void* data,
|
||||
_glfwInputWindowDamage(window);
|
||||
}
|
||||
|
||||
if (!window->wl.justCreated && !activated && window->autoIconify)
|
||||
if (!window->wl.justCreated && !activated && window->monitor && window->autoIconify)
|
||||
_glfwPlatformIconifyWindow(window);
|
||||
_glfwInputWindowFocus(window, activated);
|
||||
window->wl.justCreated = GLFW_FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user