From b9f863ca57e16b0b630be93af9998bb5d4c598fe Mon Sep 17 00:00:00 2001 From: Boyan Ding Date: Sat, 30 Aug 2014 10:33:23 +0800 Subject: [PATCH] xwm: Do not activate override redirect windows We shouldn't do WM-y things on an O-R window, including setting input focus to it. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=81273 Signed-off-by: Boyan Ding Tested-by: Ryo Munakata Acked-by: Christopher Michael --- xwayland/window-manager.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index f633324d..4e91f9dc 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -701,6 +701,9 @@ weston_wm_window_activate(struct wl_listener *listener, void *data) } if (window) { + if (window->override_redirect) + return; + client_message.response_type = XCB_CLIENT_MESSAGE; client_message.format = 32; client_message.window = window->id;