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>
This commit is contained in:
Hideyuki Nagase 2022-06-28 16:46:46 -05:00 committed by Derek Foreman
parent 55b2bf9393
commit 5afe6c5b39

View File

@ -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);
}