aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/x11/output.c')
-rw-r--r--backend/x11/output.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index db63f82f..0c4966c6 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -575,8 +575,7 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) {
wlr_output_state_init(&state);
wlr_output_state_set_custom_mode(&state, 1024, 768, 0);
- wlr_output_init(wlr_output, &x11->backend, &output_impl,
- wl_display_get_event_loop(x11->wl_display), &state);
+ wlr_output_init(wlr_output, &x11->backend, &output_impl, x11->event_loop, &state);
wlr_output_state_finish(&state);
size_t output_num = ++last_output_num;