From baa17ec696f160b3f77fdf73a630d862081e0fca Mon Sep 17 00:00:00 2001 From: Zandr Martin Date: Sat, 18 Mar 2017 17:26:59 -0400 Subject: [PATCH] remove unnecessary todo item As best I can tell this todo was intended to add workspace movement to the given output with the `workspace output ` command, but i3 does not behave this way. --- sway/commands/workspace.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sway/commands/workspace.c b/sway/commands/workspace.c index c831bdfd6..a78397466 100644 --- a/sway/commands/workspace.c +++ b/sway/commands/workspace.c @@ -42,11 +42,7 @@ struct cmd_results *cmd_workspace(int argc, char **argv) { } sway_log(L_DEBUG, "Assigning workspace %s to output %s", wso->workspace, wso->output); list_add(config->workspace_outputs, wso); - if (!config->reading) { - // TODO: Move workspace to output. (don't do so when reloading) - } - } - else { + } else { if (config->reading || !config->active) { return cmd_results_new(CMD_DEFER, "workspace", NULL); }