aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-11-23 14:08:46 +0100
committerKirill Primak <vyivel@eclair.cafe>2024-01-25 15:05:36 +0000
commit54f9944b4885e4a08c0f004136ef06f732b8308f (patch)
tree96bed8d580f996fb60d61e82f606cb1b263ef344 /include/wlr
parentb62ac611c8825f83c992843e3832474eaa2e4b72 (diff)
backend/drm: drop wl_display argument
We can grab the event loop from the wlr_session instead.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/backend/drm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h
index e8f9f6a3..3ca6390a 100644
--- a/include/wlr/backend/drm.h
+++ b/include/wlr/backend/drm.h
@@ -36,9 +36,8 @@ struct wlr_drm_lease {
* To slave this to another DRM backend, pass it as the parent (which _must_ be
* a DRM backend, other kinds of backends raise SIGABRT).
*/
-struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
- struct wlr_session *session, struct wlr_device *dev,
- struct wlr_backend *parent);
+struct wlr_backend *wlr_drm_backend_create(struct wlr_session *session,
+ struct wlr_device *dev, struct wlr_backend *parent);
bool wlr_backend_is_drm(struct wlr_backend *backend);
bool wlr_output_is_drm(struct wlr_output *output);