aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
authorRonan Pigott <ronan@rjp.ie>2022-11-16 15:50:34 -0700
committerSimon Ser <contact@emersion.fr>2022-11-26 09:48:58 +0100
commit3b49f2782e8faf68766269b9c7390b16e25ae824 (patch)
tree599dfdc5a01aea20693b391592d2d2ab81afacd6 /sway/commands
parent1c4b94ae3ca94b972410c80a61404a347af1ee68 (diff)
launcher: track workspaces by node
This removes the need to rename the pid_workspaces when a workspace is renamed. It also opens the possibility of tracking other node types. Tracking containers would allow application to be placed correctly in the container tree even if the user has moved their focus elsewhere since it was launched.
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/rename.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/commands/rename.c b/sway/commands/rename.c
index 4656a410..60a66d58 100644
--- a/sway/commands/rename.c
+++ b/sway/commands/rename.c
@@ -92,8 +92,6 @@ struct cmd_results *cmd_rename(int argc, char **argv) {
sway_log(SWAY_DEBUG, "renaming workspace '%s' to '%s'", workspace->name, new_name);
- root_rename_pid_workspaces(workspace->name, new_name);
-
free(workspace->name);
workspace->name = new_name;