tUse MODBIT in xseturgency. - st - [fork] customized build of st, the simple te… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a48f2be7f537cb1655c6b550d9346a17459a94bd | |
parent 17fa1493ee0d8c53c63b3c8d1325ee38fd3192e1 | |
Author: noname <[email protected]> | |
Date: Sun, 27 Apr 2014 15:39:39 +0400 | |
Use MODBIT in xseturgency. | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -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); | |
} |