Wayland: Only auto-iconify fullscreen windows
Upstream: https://github.com/glfw/glfw/commit/edf0a0717453511a6a35ddf473d9bb66bebdfa6f
This commit is contained in:
Vendored
+1
-1
@@ -633,7 +633,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;
|
||||
|
||||
Reference in New Issue
Block a user