1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +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

@@ -42,6 +42,7 @@ typedef struct WApplication {
int last_workspace; /* last workspace used to work on the
* app */
WMHandlerID *urgent_bounce_timer;
struct {
unsigned int skip_next_animation:1;
unsigned int hidden:1;
@@ -60,6 +61,7 @@ void wApplicationExtractDirPackIcon(WScreen *scr,char *path, char *wm_instance,
char *wm_class);
void wAppBounce(WApplication *);
void wAppBounceWhileUrgent(WApplication *);
#ifdef NEWAPPICON
#define wApplicationActivate(wapp) do { \