diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-24 14:44:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 14:44:01 -0400 |
commit | 817d37c95032946a2e508fcc33cfa5c7ed65cc0d (patch) | |
tree | 69fb79348eaff481fabaee4c2bb25991487d438b /include/sway/tree | |
parent | 347f7cb4c1edb3c4a6c38ffb3f9dcdd98f37e475 (diff) | |
parent | c80258c3b394781c42cd4f2c161c705b2558c485 (diff) | |
download | sway-817d37c95032946a2e508fcc33cfa5c7ed65cc0d.tar.xz |
Merge pull request #2165 from swaywm/pid-workspaces
Implement pid->workspace tracking
Diffstat (limited to 'include/sway/tree')
-rw-r--r-- | include/sway/tree/workspace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h index bc95317a..ff66da6b 100644 --- a/include/sway/tree/workspace.h +++ b/include/sway/tree/workspace.h @@ -44,6 +44,10 @@ 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 |