aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-08 10:48:13 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-08 10:48:13 -0400
commit9114d3b84cf4e5ba0513a8f4d4a018a6de3d6223 (patch)
tree58353f3bf78f12345fbe47bc9680273059564644 /include
parent4ba6545c650712b1ec18854fa7f94995d0176637 (diff)
Implement tablet tool support
Diffstat (limited to 'include')
-rw-r--r--include/sway/input/cursor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 64917ce5..8f907dcd 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -1,6 +1,6 @@
#ifndef _SWAY_INPUT_CURSOR_H
#define _SWAY_INPUT_CURSOR_H
-
+#include <stdint.h>
#include "sway/input/seat.h"
struct sway_cursor {
@@ -22,6 +22,8 @@ struct sway_cursor {
struct wl_listener tool_axis;
struct wl_listener tool_tip;
+ struct wl_listener tool_button;
+ uint32_t tool_buttons;
struct wl_listener request_set_cursor;
};