diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-23 13:50:32 +0100 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-25 15:05:36 +0000 |
commit | f5e8fa48f3cf6dc8522191bb56670503de41fa4c (patch) | |
tree | cfcecf9f7c6d9f8724424e2a89df098778ee3d9b /include | |
parent | 682dbf36e53a36b09a2cc37ef6bdaf21fa8d35b5 (diff) |
backend/libinput: drop wl_display argument
We can grab the event loop from the wlr_session instead.
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/libinput.h | 2 | ||||
-rw-r--r-- | include/wlr/backend/libinput.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h index 73a52754..2b8babb4 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -18,12 +18,10 @@ struct wlr_libinput_backend { struct wlr_backend backend; struct wlr_session *session; - struct wl_display *display; struct libinput *libinput_context; struct wl_event_source *input_event; - struct wl_listener display_destroy; struct wl_listener session_destroy; struct wl_listener session_signal; diff --git a/include/wlr/backend/libinput.h b/include/wlr/backend/libinput.h index 83d281f9..663f71ac 100644 --- a/include/wlr/backend/libinput.h +++ b/include/wlr/backend/libinput.h @@ -16,8 +16,7 @@ struct wlr_input_device; -struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display, - struct wlr_session *session); +struct wlr_backend *wlr_libinput_backend_create(struct wlr_session *session); /** * Gets the underlying struct libinput_device handle for the given input device. */ |