aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-08 11:16:56 -0400
committerGitHub <noreply@github.com>2018-04-08 11:16:56 -0400
commit8763957344c4d1d4095fc27a9dab18b19ab771c7 (patch)
treeb2466e095d1fba54706c84a88e76e03a66ba721d /include
parente10dc77fc60be548d9c2b8782ce83db8df1f95f3 (diff)
parent9114d3b84cf4e5ba0513a8f4d4a018a6de3d6223 (diff)
Merge pull request #1774 from swaywm/tablet-tool
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;
};