JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied yiyus fix
authorarg@localhost.localdomain <unknown>
Sat, 6 Dec 2008 16:20:14 +0000 (16:20 +0000)
committerarg@localhost.localdomain <unknown>
Sat, 6 Dec 2008 16:20:14 +0000 (16:20 +0000)
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))) {
        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);
                }
                        wmh->flags &= ~XUrgencyHint;
                        XSetWMHints(dpy, c->win, wmh);
                }