From a5d6a317f95a26222dba87e01873f0d391715c49 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Tue, 2 Aug 2016 20:35:28 +0300 Subject: [PATCH] xwm: do not try to focus override_redirect windows Chromium context menus for example instantly just decide to close to this decision. --- src/xwayland/xwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwayland/xwm.c b/src/xwayland/xwm.c index 1ee38aee..250a08af 100644 --- a/src/xwayland/xwm.c +++ b/src/xwayland/xwm.c @@ -472,7 +472,7 @@ wlc_x11_window_set_active(struct wlc_x11_window *win, bool active) { assert(win); - if (!x11.connection || !win->id) + if (!x11.connection || !win->id || win->override_redirect) return false; if (active) {