diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2008-03-05 13:13:13 +0000 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2008-03-05 13:13:13 +0000 |
commit | 5d9ae3f3b7ad904218add1c2559eec9a7a073e3e (patch) | |
tree | f57418dc60c853cb76060327da7ee11d91f97db9 | |
parent | 2e38296edd5fbafbb93a42333af22ba9edd667bf (diff) | |
download | dwm-5d9ae3f3b7ad904218add1c2559eec9a7a073e3e.tar dwm-5d9ae3f3b7ad904218add1c2559eec9a7a073e3e.tar.gz dwm-5d9ae3f3b7ad904218add1c2559eec9a7a073e3e.tar.bz2 |
fixed urgent hint handling
-rw-r--r-- | dwm.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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); } } |