aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/backend.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-22 14:26:02 -0400
committerDrew DeVault <sir@cmpwn.com>2017-06-22 14:27:35 -0400
commit168f0955ab5d6b614eb841bcb0ea684dd9105ef8 (patch)
tree968cab10e28125c78c54da78444b0a4128fb798c /backend/drm/backend.c
parent5055d899550a92d72362efe6add44b2547147599 (diff)
Add wl_output globals for wlr_outputs
Diffstat (limited to 'backend/drm/backend.c')
-rw-r--r--backend/drm/backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index 34c03eea..d52adba9 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -118,6 +118,7 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
state->drm_invalidated.notify = drm_invalidated;
wlr_udev_signal_add(udev, state->dev, &state->drm_invalidated);
+ state->display = display;
struct wl_event_loop *event_loop = wl_display_get_event_loop(display);
state->drm_event = wl_event_loop_add_fd(event_loop, state->fd,