diff options
author | Simon Ser <contact@emersion.fr> | 2022-08-11 09:09:37 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-08-11 09:13:08 +0200 |
commit | 8c3c6987dbdffa74eb1fee901b4ab1d73641e29f (patch) | |
tree | dbccfd033f49a911dfef83c594bf408d6c4ea6d1 /include/backend | |
parent | f24409468213d363bcc7dca3130c78619ee1a138 (diff) |
backend/wayland: fix touch device not added on startup
We were firing the new_input signal on backend initialization,
before the compositor had the chance to add a listener for it.
Mimick what's done for wl_keyboard: if the backend hasn't been
started, delay wl_touch initialization.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3473
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/wayland.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 5baaac9d..3a0b1327 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -144,6 +144,8 @@ void init_seat_pointer(struct wlr_wl_seat *seat); void finish_seat_pointer(struct wlr_wl_seat *seat); void create_pointer(struct wlr_wl_seat *seat, struct wlr_wl_output *output); +void init_seat_touch(struct wlr_wl_seat *seat); + void init_seat_tablet(struct wlr_wl_seat *seat); void finish_seat_tablet(struct wlr_wl_seat *seat); |