mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
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.
This commit is contained in:
parent
e687e120e0
commit
264e213c08
|
@ -387,6 +387,7 @@ struct cmd_results *config_command(char *exec, char **new_block) {
|
||||||
&& handler->handle != cmd_bindsym
|
&& handler->handle != cmd_bindsym
|
||||||
&& handler->handle != cmd_bindcode
|
&& handler->handle != cmd_bindcode
|
||||||
&& handler->handle != cmd_set
|
&& handler->handle != cmd_set
|
||||||
|
&& handler->handle != cmd_for_window
|
||||||
&& (*argv[i] == '\"' || *argv[i] == '\'')) {
|
&& (*argv[i] == '\"' || *argv[i] == '\'')) {
|
||||||
strip_quotes(argv[i]);
|
strip_quotes(argv[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue