From 5afe6c5b39bb13ad9a9600a54f9fead7106c646d Mon Sep 17 00:00:00 2001 From: Hideyuki Nagase Date: Tue, 28 Jun 2022 16:46:46 -0500 Subject: [PATCH] xwm: Change event mask for WM_TAKE_FOCUS This should be XCB_EVENT_MASK_NO_EVENT, but was not. Co-authored-by: Steve Pronovost Co-authored-by: Brenton DeGeer Signed-off-by: Hideyuki Nagase Signed-off-by: Steve Pronovost Signed-off-by: Brenton DeGeer --- xwayland/window-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }