aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/x11/backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index f5619207..e0f5d6e7 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -264,6 +264,7 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
wlr_log(WLR_ERROR, "Could not create event source");
goto error_display;
}
+ wl_event_source_check(x11->event_source);
x11->screen = xcb_setup_roots_iterator(xcb_get_setup(x11->xcb_conn)).data;