validate grab serial for shell events

This commit is contained in:
Tony Crisci 2017-12-27 08:04:01 -05:00
parent 069f120b70
commit 815d71a3aa
5 changed files with 36 additions and 1 deletions

View file

@ -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