Implement urgency base functionality

Introduces a command to manually set urgency, as well as rendering of
urgent views, sending the IPC event, removing urgency after focused for
one second, and matching urgent views via criteria.
This commit is contained in:
Ryan Dwyer 2018-07-15 22:43:33 +10:00
parent b314a8f2cc
commit 315d5311b2
12 changed files with 170 additions and 7 deletions

View file

@ -42,4 +42,7 @@ 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);
#endif