Use MODBIT in xseturgency.

This commit is contained in:
noname 2014-04-27 15:39:39 +04:00 committed by Roberto E. Vargas Caballero
parent 17fa1493ee
commit a48f2be7f5

2
st.c
View file

@ -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);
}