|
|
|
@ -565,6 +565,11 @@ static void xdg_toplevel_protocol_show_window_menu(struct wl_client *client,
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!wlr_seat_validate_grab_serial(seat->seat, serial)) {
|
|
|
|
|
wlr_log(L_DEBUG, "invalid serial for grab");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struct wlr_xdg_toplevel_v6_show_window_menu_event event = {
|
|
|
|
|
.surface = surface,
|
|
|
|
|
.seat = seat,
|
|
|
|
@ -590,6 +595,11 @@ static void xdg_toplevel_protocol_move(struct wl_client *client,
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!wlr_seat_validate_grab_serial(seat->seat, serial)) {
|
|
|
|
|
wlr_log(L_DEBUG, "invalid serial for grab");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struct wlr_xdg_toplevel_v6_move_event event = {
|
|
|
|
|
.surface = surface,
|
|
|
|
|
.seat = seat,
|
|
|
|
@ -613,6 +623,11 @@ static void xdg_toplevel_protocol_resize(struct wl_client *client,
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!wlr_seat_validate_grab_serial(seat->seat, serial)) {
|
|
|
|
|
wlr_log(L_DEBUG, "invalid serial for grab");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struct wlr_xdg_toplevel_v6_resize_event event = {
|
|
|
|
|
.surface = surface,
|
|
|
|
|
.seat = seat,
|
|
|
|
|