aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-07-17 19:07:42 +0300
committerSimon Ser <contact@emersion.fr>2023-10-06 08:51:47 +0000
commit86c30b87159b30663522405ef65f3a12134adb69 (patch)
tree51a99cf85671f001b52cfab5a17a0f93a5c8a86a /include
parent36e7a672c7b4374b0d672256321b9c450ce12010 (diff)
seat: remove wlr_seat_validate_grab_serial()
It makes little sense to have a catch-all grab vaildation function, considering that e.g. tablet tool implicit grabs are possible as well. Besides, the function has always returned true anyway.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_seat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index 2a5da726..70cc0782 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -694,12 +694,6 @@ void wlr_seat_touch_end_grab(struct wlr_seat *wlr_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);
-
-/**
* Check whether this serial is valid to start a pointer grab action.
*/
bool wlr_seat_validate_pointer_grab_serial(struct wlr_seat *seat,