diff options
author | noname <noname@inventati.org> | 2014-04-27 15:39:39 +0400 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-04-28 18:38:06 +0200 |
commit | a48f2be7f537cb1655c6b550d9346a17459a94bd (patch) | |
tree | a2eebf7d814f1e575390f61c9728a4214a89548a | |
parent | 17fa1493ee0d8c53c63b3c8d1325ee38fd3192e1 (diff) | |
download | st-a48f2be7f537cb1655c6b550d9346a17459a94bd.tar.gz st-a48f2be7f537cb1655c6b550d9346a17459a94bd.tar.bz2 |
Use MODBIT in xseturgency.
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |