mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
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.
This commit is contained in:
parent
c03962dbdd
commit
7a087a0c54
3 changed files with 77 additions and 57 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue