aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-28 20:47:56 -0400
committerDrew DeVault <sir@cmpwn.com>2018-07-28 20:47:56 -0400
commit1e65439a5448ac203fa0476d410ad303e0766552 (patch)
tree656214112817dbdcd12ce78ea5ddf0c2dff2d88f /include/sway
parent53069f1403587d230e8f2c6adb61daa7c5e022b7 (diff)
Add virtual keyboard protocol
Ref #2373
Diffstat (limited to 'include/sway')
-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 89a3ac71..aa2f6f19 100644
--- a/include/sway/input/input-manager.h
+++ b/include/sway/input/input-manager.h
@@ -2,6 +2,7 @@
#define _SWAY_INPUT_INPUT_MANAGER_H
#include <libinput.h>
#include <wlr/types/wlr_input_inhibitor.h>
+#include <wlr/types/wlr_virtual_keyboard_v1.h>
#include "sway/server.h"
#include "sway/config.h"
#include "list.h"
@@ -25,10 +26,12 @@ struct sway_input_manager {
struct wl_list seats;
struct wlr_input_inhibit_manager *inhibit;
+ struct wlr_virtual_keyboard_manager_v1 *virtual_keyboard;
struct wl_listener new_input;
struct wl_listener inhibit_activate;
struct wl_listener inhibit_deactivate;
+ struct wl_listener virtual_keyboard_new;
};
struct sway_input_manager *input_manager_create(struct sway_server *server);