diff options
author | emersion <contact@emersion.fr> | 2018-11-28 08:01:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 08:01:17 +0100 |
commit | 60e1fb547cc763310f4d28a10a0c82a936714b94 (patch) | |
tree | 99ddacb4c5a86f15ca0df602642b5beb8bee4840 | |
parent | Merge pull request #3175 from emersion/rename-gtk-primary-selection (diff) | |
parent | Do not strip quotes for cmd_mode (diff) | |
download | sway-60e1fb547cc763310f4d28a10a0c82a936714b94.tar.gz sway-60e1fb547cc763310f4d28a10a0c82a936714b94.tar.zst sway-60e1fb547cc763310f4d28a10a0c82a936714b94.zip |
Merge pull request #3209 from RedSoxFan/fix-3146
Do not strip quotes for cmd_mode
-rw-r--r-- | sway/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index bffc18f6..bdf9fe83 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -420,6 +420,7 @@ struct cmd_results *config_command(char *exec) { | |||
420 | // Strip quotes and unescape the string | 420 | // Strip quotes and unescape the string |
421 | for (int i = handler->handle == cmd_set ? 2 : 1; i < argc; ++i) { | 421 | for (int i = handler->handle == cmd_set ? 2 : 1; i < argc; ++i) { |
422 | if (handler->handle != cmd_exec && handler->handle != cmd_exec_always | 422 | if (handler->handle != cmd_exec && handler->handle != cmd_exec_always |
423 | && handler->handle != cmd_mode | ||
423 | && handler->handle != cmd_bindsym | 424 | && handler->handle != cmd_bindsym |
424 | && handler->handle != cmd_bindcode | 425 | && handler->handle != cmd_bindcode |
425 | && handler->handle != cmd_set | 426 | && handler->handle != cmd_set |