pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17fa149
)
Use MODBIT in xseturgency.
author
noname
<noname@inventati.org>
Sun, 27 Apr 2014 11:39:39 +0000
(15:39 +0400)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Mon, 28 Apr 2014 16:38:06 +0000
(18:38 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
fb206a3
..
d5a8257
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-3570,7
+3570,7
@@
void
xseturgency(int add) {
XWMHints *h = XGetWMHints(xw.dpy, xw.win);
-
h->flags = add ? (h->flags | XUrgencyHint) : (h->flags & ~
XUrgencyHint);
+
MODBIT(h->flags, add,
XUrgencyHint);
XSetWMHints(xw.dpy, xw.win, h);
XFree(h);
}