aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-11-01 20:01:22 +0100
committerDominique Martinet <asmadeus@codewreck.org>2017-11-01 20:08:26 +0100
commitbf225a60d83f45decf59792f01389f95975a1e0a (patch)
tree6553a7ea50a5256a92547fd99988848b3cb7d9f7 /xwayland
parente3ee2cd9c7e9abe6614dded927787f8138f739f4 (diff)
rootston: flush 'close' command on Xwayland
The close would otherwise wait for another xcb event to happen. Flushing helps 'close' feel reactive.
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 15a23797..4930d45c 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -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) {