aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-26 19:13:13 -0400
committeremersion <contact@emersion.fr>2018-03-26 19:13:13 -0400
commitadf4fb08dde2fa3e981213dd6a8c97de1f93c110 (patch)
tree97dcf2ad621552035626c1c60b84ab5b09700ca7 /backend
parent3bda7e2ef8db955bb56e9dbf700974de06a2836b (diff)
parent891610081fe1a8279fbe50d548bb6d42074aaae1 (diff)
Merge branch 'master' into texture-redesign
Diffstat (limited to 'backend')
-rw-r--r--backend/x11/backend.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index dd2c0a6e..36d72d9e 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -326,9 +326,6 @@ static void wlr_x11_backend_destroy(struct wlr_backend *backend) {
wl_event_source_remove(x11->frame_timer);
wlr_egl_finish(&x11->egl);
- if (x11->xcb_conn) {
- xcb_disconnect(x11->xcb_conn);
- }
if (x11->xlib_conn) {
XCloseDisplay(x11->xlib_conn);
}
@@ -428,7 +425,6 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
error_event:
wl_event_source_remove(x11->event_source);
error_x11:
- xcb_disconnect(x11->xcb_conn);
XCloseDisplay(x11->xlib_conn);
free(x11);
return NULL;