aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-04 14:01:49 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-04 14:01:49 +1000
commit30e7e0f7c7d3d3ce2851f2e70842d735343fb402 (patch)
treebc82fb73e33446c5ec0b50c1bae73658e3eeb6b4 /include/sway
parentSeparate root-related code (diff)
downloadsway-30e7e0f7c7d3d3ce2851f2e70842d735343fb402.tar.gz
sway-30e7e0f7c7d3d3ce2851f2e70842d735343fb402.tar.zst
sway-30e7e0f7c7d3d3ce2851f2e70842d735343fb402.zip
Move workspace pid code to root.c
Diffstat (limited to 'include/sway')
-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);
54 */ 54 */
55void root_scratchpad_hide(struct sway_container *con); 55void root_scratchpad_hide(struct sway_container *con);
56 56
57struct sway_container *root_workspace_for_pid(pid_t pid);
58
59void root_record_workspace_pid(pid_t pid);
60
57#endif 61#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,
44struct sway_container *workspace_output_get_highest_available( 44struct sway_container *workspace_output_get_highest_available(
45 struct sway_container *ws, struct sway_container *exclude); 45 struct sway_container *ws, struct sway_container *exclude);
46 46
47struct sway_container *workspace_for_pid(pid_t pid);
48
49void workspace_record_pid(pid_t pid);
50
51void workspace_detect_urgent(struct sway_container *workspace); 47void workspace_detect_urgent(struct sway_container *workspace);
52 48
53#endif 49#endif