equal
deleted
inserted
replaced
1649 void |
1649 void |
1650 updatewmhints(Client *c) { |
1650 updatewmhints(Client *c) { |
1651 XWMHints *wmh; |
1651 XWMHints *wmh; |
1652 |
1652 |
1653 if((wmh = XGetWMHints(dpy, c->win))) { |
1653 if((wmh = XGetWMHints(dpy, c->win))) { |
1654 if(ISVISIBLE(c) && wmh->flags & XUrgencyHint) { |
1654 if(c == sel && wmh->flags & XUrgencyHint) { |
1655 wmh->flags &= ~XUrgencyHint; |
1655 wmh->flags &= ~XUrgencyHint; |
1656 XSetWMHints(dpy, c->win, wmh); |
1656 XSetWMHints(dpy, c->win, wmh); |
1657 } |
1657 } |
1658 else |
1658 else |
1659 c->isurgent = (wmh->flags & XUrgencyHint) ? True : False; |
1659 c->isurgent = (wmh->flags & XUrgencyHint) ? True : False; |