diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/desktop/launcher.h | 14 | ||||
-rw-r--r-- | include/sway/tree/root.h | 8 |
2 files changed, 14 insertions, 8 deletions
diff --git a/include/sway/desktop/launcher.h b/include/sway/desktop/launcher.h new file mode 100644 index 00000000..cb22eb98 --- /dev/null +++ b/include/sway/desktop/launcher.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #ifndef _SWAY_LAUNCHER_H | ||
2 | #define _SWAY_LAUNCHER_H | ||
3 | |||
4 | #include <stdlib.h> | ||
5 | |||
6 | struct sway_workspace *root_workspace_for_pid(pid_t pid); | ||
7 | |||
8 | void root_record_workspace_pid(pid_t pid); | ||
9 | |||
10 | void root_remove_workspace_pid(pid_t pid); | ||
11 | |||
12 | void root_rename_pid_workspaces(const char *old_name, const char *new_name); | ||
13 | |||
14 | #endif | ||
diff --git a/include/sway/tree/root.h b/include/sway/tree/root.h index af4124a1..a2c088e7 100644 --- a/include/sway/tree/root.h +++ b/include/sway/tree/root.h | |||
@@ -69,12 +69,6 @@ void root_scratchpad_show(struct sway_container *con); | |||
69 | */ | 69 | */ |
70 | void root_scratchpad_hide(struct sway_container *con); | 70 | void root_scratchpad_hide(struct sway_container *con); |
71 | 71 | ||
72 | struct sway_workspace *root_workspace_for_pid(pid_t pid); | ||
73 | |||
74 | void root_record_workspace_pid(pid_t pid); | ||
75 | |||
76 | void root_remove_workspace_pid(pid_t pid); | ||
77 | |||
78 | void root_for_each_workspace(void (*f)(struct sway_workspace *ws, void *data), | 72 | void root_for_each_workspace(void (*f)(struct sway_workspace *ws, void *data), |
79 | void *data); | 73 | void *data); |
80 | 74 | ||
@@ -92,6 +86,4 @@ struct sway_container *root_find_container( | |||
92 | 86 | ||
93 | void root_get_box(struct sway_root *root, struct wlr_box *box); | 87 | void root_get_box(struct sway_root *root, struct wlr_box *box); |
94 | 88 | ||
95 | void root_rename_pid_workspaces(const char *old_name, const char *new_name); | ||
96 | |||
97 | #endif | 89 | #endif |