aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-28 08:01:17 +0100
committerGitHub <noreply@github.com>2018-11-28 08:01:17 +0100
commit60e1fb547cc763310f4d28a10a0c82a936714b94 (patch)
tree99ddacb4c5a86f15ca0df602642b5beb8bee4840 /sway
parentdbf8e1cead12ba775a9a702140576c5f7406c380 (diff)
parent315bca176c97716f8a4dabbec453efaad9ce1b15 (diff)
Merge pull request #3209 from RedSoxFan/fix-3146
Do not strip quotes for cmd_mode
Diffstat (limited to 'sway')
-rw-r--r--sway/commands.c1
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) {
// 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