aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-03-18 17:35:30 -0400
committerGitHub <noreply@github.com>2017-03-18 17:35:30 -0400
commit856984a7f62b7e02220a5748275e2a86354d4822 (patch)
tree1f2b0fb30f3e49ec0053d493e3e218f3f866ca29 /sway/commands
parentcef4a5cf701abc5d576245f0f1ba75b9d4956b9e (diff)
parent84ae6d02e8bc6e11fd66cf7521a8cf1dac2df93b (diff)
Merge pull request #1125 from zandrmartin/remove-unnecessary-todo
remove unnecessary todo item
Diffstat (limited to 'sway/commands')
-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);
}