mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Merge roots_seat_cancel_* into one function
This commit is contained in:
parent
147e5c0f8f
commit
90eb50d9aa
3 changed files with 18 additions and 35 deletions
|
|
@ -159,9 +159,7 @@ 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);
|
||||
roots_seat_cancel_transform(keyboard->seat);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue