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

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