diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-04 14:01:49 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-04 14:01:49 +1000 |
commit | 30e7e0f7c7d3d3ce2851f2e70842d735343fb402 (patch) | |
tree | bc82fb73e33446c5ec0b50c1bae73658e3eeb6b4 /include | |
parent | Separate root-related code (diff) | |
download | sway-30e7e0f7c7d3d3ce2851f2e70842d735343fb402.tar.gz sway-30e7e0f7c7d3d3ce2851f2e70842d735343fb402.tar.zst sway-30e7e0f7c7d3d3ce2851f2e70842d735343fb402.zip |
Move workspace pid code to root.c
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/root.h | 4 | ||||
-rw-r--r-- | include/sway/tree/workspace.h | 4 |
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 | */ |
55 | void root_scratchpad_hide(struct sway_container *con); | 55 | void root_scratchpad_hide(struct sway_container *con); |
56 | 56 | ||
57 | struct sway_container *root_workspace_for_pid(pid_t pid); | ||
58 | |||
59 | void 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, | |||
44 | struct sway_container *workspace_output_get_highest_available( | 44 | struct 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 | ||
47 | struct sway_container *workspace_for_pid(pid_t pid); | ||
48 | |||
49 | void workspace_record_pid(pid_t pid); | ||
50 | |||
51 | void workspace_detect_urgent(struct sway_container *workspace); | 47 | void workspace_detect_urgent(struct sway_container *workspace); |
52 | 48 | ||
53 | #endif | 49 | #endif |