mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
rootston: flush 'close' command on Xwayland
The close would otherwise wait for another xcb event to happen. Flushing helps 'close' feel reactive.
This commit is contained in:
parent
e3ee2cd9c7
commit
bf225a60d8
1 changed files with 2 additions and 0 deletions
|
@ -1027,6 +1027,8 @@ void wlr_xwayland_surface_close(struct wlr_xwayland *wlr_xwayland,
|
|||
} else {
|
||||
xcb_kill_client(xwm->xcb_conn, xsurface->window_id);
|
||||
}
|
||||
|
||||
xcb_flush(xwm->xcb_conn);
|
||||
}
|
||||
|
||||
void xwm_destroy(struct wlr_xwm *xwm) {
|
||||
|
|
Loading…
Reference in a new issue