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>
This commit is contained in:
parent
76cf1feb3b
commit
b9f863ca57
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user