fixed urgent hint handling
Anselm R Garbe garbeam@gmail.com
Wed, 05 Mar 2008 13:13:13 +0000
1 files changed,
4 insertions(+),
3 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -1870,10 +1870,11 @@ void
updatewmhints(Client *c) { XWMHints *wmh; - if(c == sel) - return; if((wmh = XGetWMHints(dpy, c->win))) { - c->isurgent = (wmh->flags & XUrgencyHint) ? True : False; + if(c == sel) + sel->isurgent = False; + else + c->isurgent = (wmh->flags & XUrgencyHint) ? True : False; XFree(wmh); } }