diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-09-30 12:35:45 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-09-30 12:35:45 -0400 |
commit | a125575eb5ddea8d60228350676e61b87add116f (patch) | |
tree | 016d952e12a685bb3d50ba94cd1c118548f5f998 | |
parent | Do not strip quotes for exec or bind commands (diff) | |
download | sway-a125575eb5ddea8d60228350676e61b87add116f.tar.gz sway-a125575eb5ddea8d60228350676e61b87add116f.tar.zst sway-a125575eb5ddea8d60228350676e61b87add116f.zip |
Do not strip quotes for cmd_set
-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 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 | } |