1
0
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:
Brad Jorsch
2010-09-16 17:05:13 -04:00
committed by Carlos R. Mafra
parent 8e0ef4766d
commit 8f63bdafcd
5 changed files with 67 additions and 3 deletions

View File

@@ -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;
}