From 37aae0b2cdebeba10f141b8646886614e1646530 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 31 Mar 2018 13:28:50 -0400 Subject: backend/x11: flush after destroying window Otherwise the destroy message is kept buffered and never reaches the X11 server. Thanks X11. --- backend/x11/output.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/x11') diff --git a/backend/x11/output.c b/backend/x11/output.c index 9e7424d8..4ccabd51 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -52,6 +52,7 @@ static void output_destroy(struct wlr_output *wlr_output) { wl_event_source_remove(output->frame_timer); eglDestroySurface(x11->egl.display, output->surf); xcb_destroy_window(x11->xcb_conn, output->win); + xcb_flush(x11->xcb_conn); free(output); } -- cgit v1.2.3