mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Merge pull request #793 from emersion/x11-backend-flush-destroy-window
backend/x11: flush after destroying window
This commit is contained in:
commit
00e12278c7
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…
Add table
Add a link
Reference in a new issue