mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-19 08:56:27 -05:00
rootston: seat resize and rotate
This commit is contained in:
parent
fc09f90462
commit
eb3c367c63
2 changed files with 37 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue