about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorarg@localhost.localdomain <unknown>2008-12-06 16:20:14 +0000
committerarg@localhost.localdomain <unknown>2008-12-06 16:20:14 +0000
commitfda92f46aadb4a344e52f3c560a63c9733606e3e (patch)
tree8037b7b7e15410ac549d25e7ae8e6c598b4fa44a
parenta62ea4062fb6ad040b5547a9fa3e2e57b3531c4e (diff)
downloaddwm-fda92f46aadb4a344e52f3c560a63c9733606e3e.tar.gz
applied yiyus fix
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index ff71194..c9c2994 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1651,7 +1651,7 @@ updatewmhints(Client *c) {
 	XWMHints *wmh;
 
 	if((wmh = XGetWMHints(dpy, c->win))) {
-		if(ISVISIBLE(c) && wmh->flags & XUrgencyHint) {
+		if(c == sel && wmh->flags & XUrgencyHint) {
 			wmh->flags &= ~XUrgencyHint;
 			XSetWMHints(dpy, c->win, wmh);
 		}