diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-08 11:16:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-08 11:16:56 -0400 |
commit | 8763957344c4d1d4095fc27a9dab18b19ab771c7 (patch) | |
tree | b2466e095d1fba54706c84a88e76e03a66ba721d /include/sway/input | |
parent | e10dc77fc60be548d9c2b8782ce83db8df1f95f3 (diff) | |
parent | 9114d3b84cf4e5ba0513a8f4d4a018a6de3d6223 (diff) |
Merge pull request #1774 from swaywm/tablet-tool
Implement tablet tool support
Diffstat (limited to 'include/sway/input')
-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 @@ #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; }; |