|
|
@ -72,6 +72,7 @@ struct cmd_results *cmd_rename(int argc, char **argv) {
|
|
|
|
free(workspace->name);
|
|
|
|
free(workspace->name);
|
|
|
|
workspace->name = new_name;
|
|
|
|
workspace->name = new_name;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
container_sort_workspaces(workspace->parent);
|
|
|
|
ipc_event_workspace(NULL, workspace, "rename");
|
|
|
|
ipc_event_workspace(NULL, workspace, "rename");
|
|
|
|
|
|
|
|
|
|
|
|
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
|
|
|
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
|
|
|