mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
validate grab serial for shell events
This commit is contained in:
parent
069f120b70
commit
815d71a3aa
5 changed files with 36 additions and 1 deletions
|
|
@ -43,7 +43,6 @@ static void handle_request_resize(struct wl_listener *listener, void *data) {
|
|||
struct roots_input *input = view->desktop->server->input;
|
||||
struct wlr_wl_shell_surface_resize_event *e = data;
|
||||
struct roots_seat *seat = input_seat_from_wlr_seat(input, e->seat->seat);
|
||||
// TODO verify input event
|
||||
if (!seat || seat->cursor->mode != ROOTS_CURSOR_PASSTHROUGH) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue