From: arg@localhost.localdomain Date: Sat, 6 Dec 2008 16:20:14 +0000 (+0000) Subject: applied yiyus fix X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=fda92f46aadb4a344e52f3c560a63c9733606e3e;p=dwm.git applied yiyus fix --- 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); }