mark parents of urgent container also as urgent

This commit is contained in:
Sascha Kruse
2012-09-03 16:05:44 +02:00
committed by Michael Stapelberg
parent b41ab04ecd
commit d8a036d776
3 changed files with 66 additions and 1 deletions

View File

@ -293,4 +293,17 @@ Rect con_minimum_size(Con *con);
*/
bool con_fullscreen_permits_focusing(Con *con);
/**
* Checks if the given container has an urgent child.
*
*/
bool con_has_urgent_child(Con *con);
/**
* Make all parent containers urgent if con is urgent or clear the urgent flag
* of all parent containers if there are no more urgent children left.
*
*/
void con_update_parents_urgency(Con *con);
#endif