diff options
author | minus <minus@mnus.de> | 2019-03-15 19:37:20 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-03-15 14:52:38 -0400 |
commit | 264e213c08bf1e184f7e540ae841996292ed16bd (patch) | |
tree | fa1c7387733c03d7456e51a6e75aa3a30435a2dd /sway/commands.c | |
parent | e687e120e0cd49157a2bc2d1a509d4fb1fa43490 (diff) |
Fix quoting of commands passed to for_window
E.g. `for_window [class="mpv"] move container to output "Dell Inc. ..."`
does not work because the executed move command only uses `Dell` as
output name.
Diffstat (limited to 'sway/commands.c')
-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 522a5fd4..cb32169f 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -387,6 +387,7 @@ struct cmd_results *config_command(char *exec, char **new_block) { && handler->handle != cmd_bindsym && handler->handle != cmd_bindcode && handler->handle != cmd_set + && handler->handle != cmd_for_window && (*argv[i] == '\"' || *argv[i] == '\'')) { strip_quotes(argv[i]); } |