diff options
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/rename.c | 1 |
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) { free(workspace->name); workspace->name = new_name; + container_sort_workspaces(workspace->parent); ipc_event_workspace(NULL, workspace, "rename"); return cmd_results_new(CMD_SUCCESS, NULL, NULL); |