diff options
author | Boyan Ding <stu_dby@126.com> | 2014-08-30 10:33:23 +0800 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-09-04 15:16:04 +0300 |
commit | b9f863ca57e16b0b630be93af9998bb5d4c598fe (patch) | |
tree | 34c578899dec1ee0a3455b3288718f6ebd198b4e /xwayland | |
parent | 76cf1feb3ba4142c137404f6ebe5c3c7545e154c (diff) | |
download | weston-b9f863ca57e16b0b630be93af9998bb5d4c598fe.tar.gz weston-b9f863ca57e16b0b630be93af9998bb5d4c598fe.tar.bz2 weston-b9f863ca57e16b0b630be93af9998bb5d4c598fe.zip |
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>
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/window-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |