diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-23 14:08:46 +0100 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-25 15:05:36 +0000 |
commit | 54f9944b4885e4a08c0f004136ef06f732b8308f (patch) | |
tree | 96bed8d580f996fb60d61e82f606cb1b263ef344 /include/backend/drm | |
parent | b62ac611c8825f83c992843e3832474eaa2e4b72 (diff) |
backend/drm: drop wl_display argument
We can grab the event loop from the wlr_session instead.
Diffstat (limited to 'include/backend/drm')
-rw-r--r-- | include/backend/drm/drm.h | 2 | ||||
-rw-r--r-- | include/backend/drm/monitor.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 39a247b1..4b75b8a4 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -91,10 +91,8 @@ struct wlr_drm_backend { size_t num_planes; struct wlr_drm_plane *planes; - struct wl_display *display; struct wl_event_source *drm_event; - struct wl_listener display_destroy; struct wl_listener session_destroy; struct wl_listener session_active; struct wl_listener parent_destroy; diff --git a/include/backend/drm/monitor.h b/include/backend/drm/monitor.h index bf5bda2d..51817193 100644 --- a/include/backend/drm/monitor.h +++ b/include/backend/drm/monitor.h @@ -10,7 +10,6 @@ struct wlr_drm_backend_monitor { struct wlr_backend *multi; struct wlr_backend *primary_drm; struct wlr_session *session; - struct wl_display *display; struct wl_listener multi_destroy; struct wl_listener primary_drm_destroy; @@ -20,6 +19,6 @@ struct wlr_drm_backend_monitor { struct wlr_drm_backend_monitor *drm_backend_monitor_create( struct wlr_backend *multi, struct wlr_backend *primary_drm, - struct wlr_session *session, struct wl_display *display); + struct wlr_session *session); #endif |