mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
Don't override keys if command fails
This commit is contained in:
parent
b49cfa0c16
commit
f6e65b6bb2
4 changed files with 9 additions and 10 deletions
|
|
@ -74,8 +74,7 @@ bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifiers
|
|||
}
|
||||
|
||||
if (match) {
|
||||
ret = false;
|
||||
handle_command(config, binding->command);
|
||||
ret = handle_command(config, binding->command) == 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue