summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/commands/rename.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/rename.c b/sway/commands/rename.c
index 4be912a9..104a3392 100644
--- a/sway/commands/rename.c
+++ b/sway/commands/rename.c
@@ -72,6 +72,7 @@ struct cmd_results *cmd_rename(int argc, char **argv) {
72 free(workspace->name); 72 free(workspace->name);
73 workspace->name = new_name; 73 workspace->name = new_name;
74 74
75 container_sort_workspaces(workspace->parent);
75 ipc_event_workspace(NULL, workspace, "rename"); 76 ipc_event_workspace(NULL, workspace, "rename");
76 77
77 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 78 return cmd_results_new(CMD_SUCCESS, NULL, NULL);