summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2017-03-18 17:26:59 -0400
committerFurkan Sahin <furkan-dev@proton.me>2017-03-18 17:26:59 -0400
commit57039ee749633d08551ea59e2baabe44a7f113d0 (patch)
tree8b5c00d70ad17b838ffae2cd9c76c56249a10b32
parent8622d9c07e95f0192d35d20fac23c24c17de8190 (diff)
remove unnecessary todo item
As best I can tell this todo was intended to add workspace movement to the given output with the `workspace <ws> output <op>` command, but i3 does not behave this way.
-rw-r--r--sway/commands/workspace.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sway/commands/workspace.c b/sway/commands/workspace.c
index c831bdfd..a7839746 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);
}