mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Update workspace urgent state when views close or move workspaces
This commit is contained in:
parent
560627437b
commit
5f0a4bb6a4
6 changed files with 31 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue