mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Cancel rootston move/resize/rotate on escape press
This commit is contained in:
parent
7e3bb39d49
commit
7ae8800a63
3 changed files with 45 additions and 0 deletions
|
|
@ -159,6 +159,9 @@ static bool keyboard_execute_compositor_binding(struct roots_keyboard *keyboard,
|
|||
if (keysym == XKB_KEY_Escape) {
|
||||
wlr_seat_pointer_end_grab(keyboard->seat->seat);
|
||||
wlr_seat_keyboard_end_grab(keyboard->seat->seat);
|
||||
roots_seat_cancel_move(keyboard->seat);
|
||||
roots_seat_cancel_resize(keyboard->seat);
|
||||
roots_seat_cancel_rotate(keyboard->seat);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue