mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Sort workspaces after rename
This commit is contained in:
parent
d956286b92
commit
fbb5198e43
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue