Quoth Vadim Vygonets on Sun, Dec 13, 2015:
> cwm-cycling-urgency.diff
> Don't clear urgency flag while cycling
Version 2 of the patch clears the urgency flag after cycling.
Vadik.
--
You have good days and bad days, and depression's something that,
you know, is always with you.
-- Winona Ryder
Index: client.c
===================================================================
RCS file: /cvs/xenocara/app/cwm/client.c,v
retrieving revision 1.214
diff -u -r1.214 client.c
--- client.c 12 Nov 2015 18:33:30 -0000 1.214
+++ client.c 12 Dec 2015 17:26:39 -0000
@@ -219,13 +219,15 @@
client_draw_border(oldcc);
}
- /* If we're in the middle of cycing, don't change the order. */
- if (!sc->cycling)
+ /* If we're in the middle of cycing, don't change the order or
+ * clear the urgency flag. */
+ if (!sc->cycling) {
client_mtf(cc);
+ cc->flags &= ~CLIENT_URGENCY;
+ }
curcc = cc;
cc->flags |= CLIENT_ACTIVE;
- cc->flags &= ~CLIENT_URGENCY;
client_draw_border(cc);
conf_grab_mouse(cc->win);
xu_ewmh_net_active_window(sc, cc->win);
@@ -719,7 +721,7 @@
if ((cc = client_current()) != NULL) {
client_mtf(cc);
- cc->flags &= ~CLIENT_HIGHLIGHT;
+ cc->flags &= ~(CLIENT_HIGHLIGHT | CLIENT_URGENCY);
client_draw_border(cc);
XUngrabKeyboard(X_Dpy, CurrentTime);
}