mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Add wl_output globals for wlr_outputs
This commit is contained in:
parent
5055d89955
commit
168f0955ab
8 changed files with 87 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue