aboutsummaryrefslogtreecommitdiff
path: root/rootston/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'rootston/keyboard.c')
-rw-r--r--rootston/keyboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootston/keyboard.c b/rootston/keyboard.c
index f1123599..c29df46a 100644
--- a/rootston/keyboard.c
+++ b/rootston/keyboard.c
@@ -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;