aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}