backend/libinput: drop wl_display argument

We can grab the event loop from the wlr_session instead.
This commit is contained in:
Simon Ser 2023-11-23 13:50:32 +01:00 committed by Kirill Primak
parent 682dbf36e5
commit f5e8fa48f3
4 changed files with 7 additions and 25 deletions

View file

@ -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;