Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #793 from emersion/x11-backend-flush-destroy-window
Browse files Browse the repository at this point in the history
backend/x11: flush after destroying window
  • Loading branch information
ddevault authored Mar 31, 2018
2 parents 96c6091 + 37aae0b commit 00e1227
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/x11/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 00e1227

Please sign in to comment.