backend/x11: fix extra output

This commit is contained in:
emersion 2018-03-30 23:36:05 -04:00
parent f37e8c5b6e
commit 5111f7df84
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 5 additions and 6 deletions

View file

@ -282,7 +282,6 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
wlr_backend_init(&x11->backend, &backend_impl);
x11->wl_display = display;
x11->requested_outputs = 1;
wl_list_init(&x11->outputs);
x11->xlib_conn = XOpenDisplay(x11_display);