aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-09-30 12:35:45 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-09-30 12:35:45 -0400
commita125575eb5ddea8d60228350676e61b87add116f (patch)
tree016d952e12a685bb3d50ba94cd1c118548f5f998 /sway/commands.c
parentDo not strip quotes for exec or bind commands (diff)
downloadsway-a125575eb5ddea8d60228350676e61b87add116f.tar.gz
sway-a125575eb5ddea8d60228350676e61b87add116f.tar.zst
sway-a125575eb5ddea8d60228350676e61b87add116f.zip
Do not strip quotes for cmd_set
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 831d4492..03cfebd7 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -394,6 +394,7 @@ struct cmd_results *config_command(char *exec) {
394 if (handler->handle != cmd_exec && handler->handle != cmd_exec_always 394 if (handler->handle != cmd_exec && handler->handle != cmd_exec_always
395 && handler->handle != cmd_bindsym 395 && handler->handle != cmd_bindsym
396 && handler->handle != cmd_bindcode 396 && handler->handle != cmd_bindcode
397 && handler->handle != cmd_set
397 && (*argv[i] == '\"' || *argv[i] == '\'')) { 398 && (*argv[i] == '\"' || *argv[i] == '\'')) {
398 strip_quotes(argv[i]); 399 strip_quotes(argv[i]);
399 } 400 }