projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e38296
)
fixed urgent hint handling
author
Anselm R Garbe
<garbeam@gmail.com>
Wed, 5 Mar 2008 13:13:13 +0000
(13:13 +0000)
committer
Anselm R Garbe
<garbeam@gmail.com>
Wed, 5 Mar 2008 13:13:13 +0000
(13:13 +0000)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index 9bad83c0d67f6cf8f2526a0b4528c46bfc7ad87a..a1a34e2db99b7d374dbb88067fb26d1765341ae4 100644
(file)
--- a/
dwm.c
+++ b/
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);
}
}