rootston: seat resize and rotate

This commit is contained in:
Tony Crisci 2017-11-08 08:35:27 -05:00
parent fc09f90462
commit eb3c367c63
2 changed files with 37 additions and 4 deletions

View file

@ -114,6 +114,7 @@ static void handle_request_resize(struct wl_listener *listener, void *data) {
struct wlr_xdg_toplevel_v6_resize_event *e = data;
// TODO verify event serial
struct roots_seat *seat = input_seat_from_wlr_seat(input, e->seat->seat);
assert(seat);
if (!seat || seat->cursor->mode != ROOTS_CURSOR_PASSTHROUGH) {
return;
}