mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-04 07:15:59 -04:00
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.
This commit is contained in:
parent
36e7a672c7
commit
86c30b8715
3 changed files with 0 additions and 28 deletions
|
|
@ -444,13 +444,6 @@ struct wlr_seat_client *wlr_seat_client_from_resource(
|
|||
return wl_resource_get_user_data(resource);
|
||||
}
|
||||
|
||||
bool wlr_seat_validate_grab_serial(struct wlr_seat *seat, uint32_t serial) {
|
||||
// TODO
|
||||
//return serial == seat->pointer_state.grab_serial ||
|
||||
// serial == seat->touch_state.grab_serial;
|
||||
return true;
|
||||
}
|
||||
|
||||
uint32_t wlr_seat_client_next_serial(struct wlr_seat_client *client) {
|
||||
uint32_t serial = wl_display_next_serial(wl_client_get_display(client->client));
|
||||
struct wlr_serial_ringset *set = &client->serials;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue