mirror of
https://github.com/NickHu/sway
synced 2024-12-30 22:23:30 +01:00
3b49f2782e
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.
12 lines
226 B
C
12 lines
226 B
C
#ifndef _SWAY_LAUNCHER_H
|
|
#define _SWAY_LAUNCHER_H
|
|
|
|
#include <stdlib.h>
|
|
|
|
struct sway_workspace *root_workspace_for_pid(pid_t pid);
|
|
|
|
void root_record_workspace_pid(pid_t pid);
|
|
|
|
void root_remove_workspace_pid(pid_t pid);
|
|
|
|
#endif
|