aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-08-04 14:01:49 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-08-04 14:01:49 +1000
commit30e7e0f7c7d3d3ce2851f2e70842d735343fb402 (patch)
treebc82fb73e33446c5ec0b50c1bae73658e3eeb6b4 /include/sway/tree
parent04489ff4209dc073027419d90961367cfb998fe8 (diff)
Move workspace pid code to root.c
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/root.h4
-rw-r--r--include/sway/tree/workspace.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/sway/tree/root.h b/include/sway/tree/root.h
index ada3c73f..edb7c817 100644
--- a/include/sway/tree/root.h
+++ b/include/sway/tree/root.h
@@ -54,4 +54,8 @@ void root_scratchpad_show(struct sway_container *con);
*/
void root_scratchpad_hide(struct sway_container *con);
+struct sway_container *root_workspace_for_pid(pid_t pid);
+
+void root_record_workspace_pid(pid_t pid);
+
#endif
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h
index 5ae0ae3a..3337f2c8 100644
--- a/include/sway/tree/workspace.h
+++ b/include/sway/tree/workspace.h
@@ -44,10 +44,6 @@ void workspace_output_add_priority(struct sway_container *workspace,
struct sway_container *workspace_output_get_highest_available(
struct sway_container *ws, struct sway_container *exclude);
-struct sway_container *workspace_for_pid(pid_t pid);
-
-void workspace_record_pid(pid_t pid);
-
void workspace_detect_urgent(struct sway_container *workspace);
#endif