From a48f2be7f537cb1655c6b550d9346a17459a94bd Mon Sep 17 00:00:00 2001 From: noname Date: Sun, 27 Apr 2014 15:39:39 +0400 Subject: Use MODBIT in xseturgency. --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'st.c') diff --git a/st.c b/st.c index fb206a3..d5a8257 100644 --- 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); } -- cgit v1.2.3-13-gbd6f