From 86c30b87159b30663522405ef65f3a12134adb69 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Mon, 17 Jul 2023 19:07:42 +0300 Subject: 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. --- include/wlr/types/wlr_seat.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include') 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 @@ -693,12 +693,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. */ -- cgit v1.2.3