diff options
| author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-03-16 04:19:43 +0200 |
|---|---|---|
| committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-03-16 04:19:43 +0200 |
| commit | c2fe8e92d1a87e20c10f299e9d21b4cc3069da17 (patch) | |
| tree | 81c92bd08e2ab6c8d129401ebce19f57eaf37d87 | |
| parent | d9c030b5c31636491c1c8cf803c7b827063de2e6 (diff) | |
don't mark current client as urgent
| -rw-r--r-- | monsterwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monsterwm.c b/monsterwm.c index 6361d63..7d6711f 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -622,7 +622,7 @@ void propertynotify(XEvent *e) { client *c = wintoclient(e->xproperty.window); if (!c || e->xproperty.atom != XA_WM_HINTS) return; XWMHints *wmh = XGetWMHints(dis, c->win); - c->isurgent = wmh && (wmh->flags & XUrgencyHint); + c->isurgent = c != current && wmh && (wmh->flags & XUrgencyHint); XFree(wmh); desktopinfo(); } |
