mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
backend/x11: flush after destroying window
Otherwise the destroy message is kept buffered and never reaches the X11 server. Thanks X11.
This commit is contained in:
parent
96c6091f80
commit
37aae0b2cd
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ static void output_destroy(struct wlr_output *wlr_output) {
|
||||||
wl_event_source_remove(output->frame_timer);
|
wl_event_source_remove(output->frame_timer);
|
||||||
eglDestroySurface(x11->egl.display, output->surf);
|
eglDestroySurface(x11->egl.display, output->surf);
|
||||||
xcb_destroy_window(x11->xcb_conn, output->win);
|
xcb_destroy_window(x11->xcb_conn, output->win);
|
||||||
|
xcb_flush(x11->xcb_conn);
|
||||||
free(output);
|
free(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue