diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-08-04 14:01:49 +1000 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-08-04 14:01:49 +1000 |
| commit | 5ec073f580d0d9bc59eba3fdddcac72edbce6253 (patch) | |
| tree | bc82fb73e33446c5ec0b50c1bae73658e3eeb6b4 /include | |
| parent | a2ebc602ce232c28ec8e5b2c28fe59c2df75cf25 (diff) | |
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); */ 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 |
