applied yiyus fix

master
arg@localhost.localdomain 2008-12-06 16:20:14 +00:00
parent a62ea4062f
commit fda92f46aa
1 changed files with 1 additions and 1 deletions

2
dwm.c
View File

@ -1651,7 +1651,7 @@ updatewmhints(Client *c) {
XWMHints *wmh; XWMHints *wmh;
if((wmh = XGetWMHints(dpy, c->win))) { if((wmh = XGetWMHints(dpy, c->win))) {
if(ISVISIBLE(c) && wmh->flags & XUrgencyHint) { if(c == sel && wmh->flags & XUrgencyHint) {
wmh->flags &= ~XUrgencyHint; wmh->flags &= ~XUrgencyHint;
XSetWMHints(dpy, c->win, wmh); XSetWMHints(dpy, c->win, wmh);
} }