mirror of
https://github.com/labwc/labwc.git
synced 2026-02-18 22:05:32 -05:00
cursor: also toggle mousebinds with ToggleKeybinds
Mousebinds can still be applied when the cursor is over their decoration
This commit is contained in:
parent
73095f75cb
commit
024ab280a0
5 changed files with 26 additions and 12 deletions
|
|
@ -211,9 +211,7 @@ match_keybinding_for_sym(struct server *server, uint32_t modifiers,
|
|||
if (modifiers ^ keybind->modifiers) {
|
||||
continue;
|
||||
}
|
||||
if (server->active_view
|
||||
&& server->active_view->inhibits_keybinds
|
||||
&& !actions_contain_toggle_keybinds(&keybind->actions)) {
|
||||
if (view_inhibits_actions(server->active_view, &keybind->actions)) {
|
||||
continue;
|
||||
}
|
||||
if (sym == XKB_KEY_NoSymbol) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue