From edf0a0717453511a6a35ddf473d9bb66bebdfa6f Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 15 Feb 2019 17:03:34 +0100 Subject: [PATCH] Wayland: Only auto-iconify fullscreen windows Thanks to kwin for exposing a bug here! --- src/wl_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wl_window.c b/src/wl_window.c index 1d7cc9a0..e95a3aea 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -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;