From cb8ac7fd4a0c8c11f97cc913391c4d04a7b4277b Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Fri, 8 Jan 2016 23:16:57 +0100 Subject: Unescape string after doing var replacement Fix #426 --- sway/commands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/commands.c') diff --git a/sway/commands.c b/sway/commands.c index 6a316596..f3f7efbf 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -2462,6 +2462,7 @@ struct cmd_results *config_command(char *exec, enum cmd_status block) { // Var replacement, for all but first argument of set for (i = handler->handle == cmd_set ? 2 : 1; i < argc; ++i) { argv[i] = do_var_replacement(argv[i]); + unescape_string(argv[i]); } /* Strip quotes for first argument. * TODO This part needs to be handled much better */ -- cgit v1.2.3