aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input/input-manager.h
diff options
context:
space:
mode:
authorMark Bolhuis <mark@bolhuis.dev>2023-06-26 21:43:13 +0100
committerSimon Ser <contact@emersion.fr>2023-06-26 22:57:46 +0200
commit20c91335f6ba515e43b444fafd52b822bd460eda (patch)
treedd7b8bf58795108127336a75933f190fd89ef244 /include/sway/input/input-manager.h
parent974a8629a8f0f403028332543e4bd31d98f611c1 (diff)
input: Move wlr_pointer_gestures_v1 to sway_input_manager
On multi-seat configurations a zwp_pointer_gestures_v1 global was created for every seat. Instead, create the global once in the input manager, to be shared across all seats.
Diffstat (limited to 'include/sway/input/input-manager.h')
-rw-r--r--include/sway/input/input-manager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h
index c9bd08f0..b651e3dd 100644
--- a/include/sway/input/input-manager.h
+++ b/include/sway/input/input-manager.h
@@ -25,6 +25,7 @@ struct sway_input_manager {
struct wlr_keyboard_shortcuts_inhibit_manager_v1 *keyboard_shortcuts_inhibit;
struct wlr_virtual_keyboard_manager_v1 *virtual_keyboard;
struct wlr_virtual_pointer_manager_v1 *virtual_pointer;
+ struct wlr_pointer_gestures_v1 *pointer_gestures;
struct wl_listener new_input;
struct wl_listener inhibit_activate;