summaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorHideyuki Nagase <hideyukn@microsoft.com>2022-06-28 16:46:46 -0500
committerDerek Foreman <derek.foreman@collabora.com>2022-08-08 12:43:34 +0000
commit5afe6c5b39bb13ad9a9600a54f9fead7106c646d (patch)
tree854c8b6612f8fce089250ae56e335c16ff1b335d /xwayland
parent55b2bf939345c39c26f4edd8e68bd2bb833758d8 (diff)
xwm: Change event mask for WM_TAKE_FOCUS
This should be XCB_EVENT_MASK_NO_EVENT, but was not. Co-authored-by: Steve Pronovost <spronovo@microsoft.com> Co-authored-by: Brenton DeGeer <brdegeer@microsoft.com> Signed-off-by: Hideyuki Nagase <hideyukn@microsoft.com> Signed-off-by: Steve Pronovost <spronovo@microsoft.com> Signed-off-by: Brenton DeGeer <brdegeer@microsoft.com>
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/window-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
index 59ae61c0..7cadffdd 100644
--- a/xwayland/window-manager.c
+++ b/xwayland/window-manager.c
@@ -948,7 +948,7 @@ weston_wm_send_focus_window(struct weston_wm *wm,
client_message.data.data32[1] = XCB_TIME_CURRENT_TIME;
xcb_send_event(wm->conn, 0, window->id,
- XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT,
+ XCB_EVENT_MASK_NO_EVENT,
(char *) &client_message);
}