aboutsummaryrefslogtreecommitdiff
path: root/monsterwm.c
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2012-03-16 04:19:43 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2012-03-16 04:19:43 +0200
commitc2fe8e92d1a87e20c10f299e9d21b4cc3069da17 (patch)
tree81c92bd08e2ab6c8d129401ebce19f57eaf37d87 /monsterwm.c
parentd9c030b5c31636491c1c8cf803c7b827063de2e6 (diff)
don't mark current client as urgent
Diffstat (limited to 'monsterwm.c')
-rw-r--r--monsterwm.c2
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();
}