Listen to display destroy in xwayland, rename wlr_egl_free

This commit is contained in:
emersion 2017-12-08 00:59:37 +01:00
parent 9d43adaafa
commit 18eb1eee3f
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
8 changed files with 26 additions and 10 deletions

View file

@ -247,7 +247,7 @@ static void wlr_x11_backend_destroy(struct wlr_backend *backend) {
wl_list_remove(&x11->display_destroy.link);
wl_event_source_remove(x11->frame_timer);
wlr_egl_free(&x11->egl);
wlr_egl_finish(&x11->egl);
xcb_disconnect(x11->xcb_conn);
free(x11);