diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-08 10:48:13 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-08 10:48:13 -0400 |
commit | 9114d3b84cf4e5ba0513a8f4d4a018a6de3d6223 (patch) | |
tree | 58353f3bf78f12345fbe47bc9680273059564644 /include | |
parent | Fixup for #1773 (diff) | |
download | sway-9114d3b84cf4e5ba0513a8f4d4a018a6de3d6223.tar.gz sway-9114d3b84cf4e5ba0513a8f4d4a018a6de3d6223.tar.zst sway-9114d3b84cf4e5ba0513a8f4d4a018a6de3d6223.zip |
Implement tablet tool support
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/cursor.h | 4 |
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 @@ | |||
1 | #ifndef _SWAY_INPUT_CURSOR_H | 1 | #ifndef _SWAY_INPUT_CURSOR_H |
2 | #define _SWAY_INPUT_CURSOR_H | 2 | #define _SWAY_INPUT_CURSOR_H |
3 | 3 | #include <stdint.h> | |
4 | #include "sway/input/seat.h" | 4 | #include "sway/input/seat.h" |
5 | 5 | ||
6 | struct sway_cursor { | 6 | struct sway_cursor { |
@@ -22,6 +22,8 @@ struct sway_cursor { | |||
22 | 22 | ||
23 | struct wl_listener tool_axis; | 23 | struct wl_listener tool_axis; |
24 | struct wl_listener tool_tip; | 24 | struct wl_listener tool_tip; |
25 | struct wl_listener tool_button; | ||
26 | uint32_t tool_buttons; | ||
25 | 27 | ||
26 | struct wl_listener request_set_cursor; | 28 | struct wl_listener request_set_cursor; |
27 | }; | 29 | }; |