aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-27 07:54:00 -0800
committerGitHub <noreply@github.com>2017-12-27 07:54:00 -0800
commita0d2a6b445f33b608019809f581a80d28062178d (patch)
tree289ccf5770963ba14c1f441924b76bb864d8eb07 /include/wlr
parent4267ee2bf351338c2aa6e1ed891e3a324108dec0 (diff)
parent815d71a3aa24cfb87870741319cae99ba1726b8f (diff)
Merge pull request #525 from acrisci/serial-validation
Serial validation for grab requests
Diffstat (limited to 'include/wlr')
-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