commit 60e1fb547cc763310f4d28a10a0c82a936714b94
parent dbf8e1cead12ba775a9a702140576c5f7406c380
Author: emersion <contact@emersion.fr>
Date: Wed, 28 Nov 2018 08:01:17 +0100
Merge pull request #3209 from RedSoxFan/fix-3146
Do not strip quotes for cmd_mode
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sway/commands.c b/sway/commands.c
@@ -420,6 +420,7 @@ struct cmd_results *config_command(char *exec) {
// Strip quotes and unescape the string
for (int i = handler->handle == cmd_set ? 2 : 1; i < argc; ++i) {
if (handler->handle != cmd_exec && handler->handle != cmd_exec_always
+ && handler->handle != cmd_mode
&& handler->handle != cmd_bindsym
&& handler->handle != cmd_bindcode
&& handler->handle != cmd_set