mirror of
https://github.com/labwc/labwc.git
synced 2026-06-13 14:33:18 -04:00
Add overrideInhibition to keyboard.keybind
Some checks failed
labwc.github.io / notify (push) Has been cancelled
Some checks failed
labwc.github.io / notify (push) Has been cancelled
This commit is contained in:
parent
4c7a9960a4
commit
c5ea41e876
4 changed files with 15 additions and 3 deletions
|
|
@ -203,8 +203,10 @@ match_keybinding_for_sym(uint32_t modifiers,
|
|||
if (modifiers ^ keybind->modifiers) {
|
||||
continue;
|
||||
}
|
||||
if (view_inhibits_actions(server.active_view, &keybind->actions)) {
|
||||
continue;
|
||||
if (!(keybind->override_inhibition)) {
|
||||
if (view_inhibits_actions(server.active_view, &keybind->actions)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (sym == XKB_KEY_NoSymbol) {
|
||||
/* Use keycodes */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue