aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-27 08:04:01 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-27 08:04:01 -0500
commit815d71a3aa24cfb87870741319cae99ba1726b8f (patch)
tree42cc56c55a1276be1b8358c1a84fc639ea5d941d /include
parent069f120b70f364dc83d43dfff89ce731584299b5 (diff)
validate grab serial for shell events
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_seat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index 28e9a615..f7dea52f 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -509,4 +509,10 @@ int wlr_seat_touch_num_points(struct wlr_seat *seat);
*/
bool wlr_seat_touch_has_grab(struct wlr_seat *seat);
+/**
+ * Check whether this serial is valid to start a grab action such as an
+ * interactive move or resize.
+ */
+bool wlr_seat_validate_grab_serial(struct wlr_seat *seat, uint32_t serial);
+
#endif