diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-16 13:15:35 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-16 13:15:35 +1000 |
commit | 5f0a4bb6a46cf359dd270e3c448ca1e112331f9d (patch) | |
tree | b6f9df379c05b5a1bda6010c9e3bab5ef8f9dfb0 /include/sway | |
parent | 560627437b536db490d7e4a3c6fb4282757a7327 (diff) |
Update workspace urgent state when views close or move workspaces
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/tree/workspace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h index 8c2f4cd5..bc95317a 100644 --- a/include/sway/tree/workspace.h +++ b/include/sway/tree/workspace.h @@ -10,6 +10,7 @@ struct sway_workspace { struct sway_view *fullscreen; struct sway_container *floating; list_t *output_priority; + bool urgent; }; extern char *prev_workspace_name; @@ -43,6 +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); -bool workspace_is_urgent(struct sway_container *workspace); +void workspace_detect_urgent(struct sway_container *workspace); #endif |