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.

(cherry picked from commit 3b49f2782e)
This commit is contained in:
Ronan Pigott 2022-11-16 15:50:34 -07:00 committed by Simon Ser
parent 16b391db48
commit 69abc41d25
3 changed files with 77 additions and 57 deletions

View file

@ -9,6 +9,4 @@ void root_record_workspace_pid(pid_t pid);
void root_remove_workspace_pid(pid_t pid);
void root_rename_pid_workspaces(const char *old_name, const char *new_name);
#endif