sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 8d2c982f3fea5b7f83680809bf4d986edfd625a3
parent c3d7036867b958b08f6506737ffafe9052c17194
Author: Philipe Goulet <phil.gou69@hotmail.com>
Date:   Fri, 22 Mar 2019 20:51:10 -0400

Fix #3924

Removes "unescape_string(argv[i]);".

Since "do_var_replacement(argv[i])" never adds escape
characters, it is both wrong and unnecessary to remove escape characters
on the next line.

This caused characters that were meant to be escaped to not be anymore.

Diffstat:
Msway/commands.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/sway/commands.c b/sway/commands.c @@ -276,7 +276,6 @@ list_t *execute_command(char *_exec, struct sway_seat *seat, // Var replacement, for all but first argument of set for (int i = handler->handle == cmd_set ? 2 : 1; i < argc; ++i) { argv[i] = do_var_replacement(argv[i]); - unescape_string(argv[i]); } if (!config->handler_context.using_criteria) {