JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied yiyus fix
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index ff71194..c9c2994 100644 (file)
--- 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);
                }