aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorJosef Gajdusek <atx@atx.name>2019-10-20 16:06:35 +0200
committerSimon Ser <contact@emersion.fr>2019-12-31 16:04:50 +0100
commitf501a60c14375132fae64d0a04d1a5523811ac5d (patch)
tree81f7fcfb43c64c3d5c3ab4cd027226886ab4ac80 /include/sway/input
parent2b5e75032b09922b0cc06eb0454e6beace8908d7 (diff)
Add virtual pointer protocol
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/input-manager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h
index 8d4a5b00..a5392c6b 100644
--- a/include/sway/input/input-manager.h
+++ b/include/sway/input/input-manager.h
@@ -3,6 +3,7 @@
#include <libinput.h>
#include <wlr/types/wlr_input_inhibitor.h>
#include <wlr/types/wlr_virtual_keyboard_v1.h>
+#include <wlr/types/wlr_virtual_pointer_v1.h>
#include "sway/server.h"
#include "sway/config.h"
#include "list.h"
@@ -20,11 +21,13 @@ struct sway_input_manager {
struct wlr_input_inhibit_manager *inhibit;
struct wlr_virtual_keyboard_manager_v1 *virtual_keyboard;
+ struct wlr_virtual_pointer_manager_v1 *virtual_pointer;
struct wl_listener new_input;
struct wl_listener inhibit_activate;
struct wl_listener inhibit_deactivate;
struct wl_listener virtual_keyboard_new;
+ struct wl_listener virtual_pointer_new;
};
struct sway_input_manager *input_manager_create(struct sway_server *server);