mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Periodic bouncing for XUrgencyHint
When a window has XUrgencyHint set, bounce the app icon periodically.
This commit is contained in:
committed by
Carlos R. Mafra
parent
8e0ef4766d
commit
8f63bdafcd
@@ -710,8 +710,10 @@ WWindow *wManageWindow(WScreen *scr, Window window)
|
||||
wwin->group_id = None;
|
||||
}
|
||||
|
||||
if (wwin->wm_hints->flags & UrgencyHint)
|
||||
if (wwin->wm_hints->flags & UrgencyHint) {
|
||||
wwin->flags.urgent = 1;
|
||||
wAppBounceWhileUrgent(wApplicationOf(wwin->main_window));
|
||||
}
|
||||
} else {
|
||||
wwin->group_id = None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user