ToggleKeybinds per window

This commit is contained in:
Consolatis 2023-03-05 10:35:56 +01:00 committed by Johan Malm
parent b6dfffc782
commit 235a8ad9bc
12 changed files with 84 additions and 5 deletions

View file

@ -91,7 +91,8 @@ handle_keybinding(struct server *server, uint32_t modifiers, xkb_keysym_t sym)
if (modifiers ^ keybind->modifiers) {
continue;
}
if (server->seat.inhibit_keybinds
if (server->seat.nr_inhibited_keybind_views
&& view_inhibits_keybinds(desktop_focused_view(server))
&& !actions_contain_toggle_keybinds(&keybind->actions)) {
continue;
}