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 <stu_dby@126.com>
Tested-by: Ryo Munakata <ryomnktml@gmail.com>
Acked-by: Christopher Michael <cp.michael@samsung.com>
dev
Boyan Ding 10 years ago committed by Pekka Paalanen
parent 76cf1feb3b
commit b9f863ca57
  1. 3
      xwayland/window-manager.c

@ -701,6 +701,9 @@ weston_wm_window_activate(struct wl_listener *listener, void *data)
} }
if (window) { if (window) {
if (window->override_redirect)
return;
client_message.response_type = XCB_CLIENT_MESSAGE; client_message.response_type = XCB_CLIENT_MESSAGE;
client_message.format = 32; client_message.format = 32;
client_message.window = window->id; client_message.window = window->id;

Loading…
Cancel
Save