aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-15 08:34:35 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-15 08:34:48 -0500
commit12758a00a2d388b050386f017a3a273c1302e648 (patch)
treee912ea57359dc3f22b3ad7e33b7520728f273552 /include/wlr
parentac4841ba37aee8c0d661c44f2de2fd6ed5d38086 (diff)
rootston: touch to focus
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_seat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index 716e37c5..109e9be9 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -488,6 +488,11 @@ void wlr_seat_touch_send_motion(struct wlr_seat *seat, uint32_t time,
int32_t touch_id, double sx, double sy);
/**
+ * How many touch points are currently down for the seat.
+ */
+int wlr_seat_touch_num_points(struct wlr_seat *seat);
+
+/**
* Whether or not the seat has a touch grab other than the default grab.
*/
bool wlr_seat_touch_has_grab(struct wlr_seat *seat);