aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-10-21 17:37:25 +1300
committerScott Anderson <ascent12@hotmail.com>2017-10-22 10:36:07 +1300
commit822a9f65a4f965a7561de287013c2a5c159453ab (patch)
tree21093ceecc00b080f4285774848ed2ebf2ccf186 /backend/x11
parent4ea84c5765b138153aa313f23288935192b75c42 (diff)
Add pointer to backend inside wlr_output
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index 4ecca325..d30ec376 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -264,7 +264,7 @@ static bool wlr_x11_backend_start(struct wlr_backend *backend) {
output->x11 = x11;
- wlr_output_init(&output->wlr_output, &output_impl);
+ wlr_output_init(&output->wlr_output, &x11->backend, &output_impl);
snprintf(output->wlr_output.name, sizeof(output->wlr_output.name), "X11-1");
output->win = xcb_generate_id(x11->xcb_conn);