mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
rootston: end grab on escape
This commit is contained in:
parent
e9c2cf09dc
commit
e5b49158b4
1 changed files with 5 additions and 0 deletions
|
|
@ -83,6 +83,11 @@ static bool keyboard_keysym_press(struct roots_keyboard *keyboard,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (keysym == XKB_KEY_Escape) {
|
||||||
|
wlr_seat_pointer_end_grab(keyboard->input->wl_seat);
|
||||||
|
wlr_seat_keyboard_end_grab(keyboard->input->wl_seat);
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t modifiers = wlr_keyboard_get_modifiers(keyboard->device->keyboard);
|
uint32_t modifiers = wlr_keyboard_get_modifiers(keyboard->device->keyboard);
|
||||||
struct wl_list *bindings = &keyboard->input->server->config->bindings;
|
struct wl_list *bindings = &keyboard->input->server->config->bindings;
|
||||||
struct binding_config *bc;
|
struct binding_config *bc;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue