[wiki] [sites] focusurgent: simplify patch || Jan Christoph Ebersbach
commit f05085777cf34b9203d45e077120aa6a731a0457
Author: Jan Christoph Ebersbach <jceb_AT_e-jc.de>
Date: Thu Sep 1 07:41:54 2016 +0200
focusurgent: simplify patch
diff --git a/dwm.suckless.org/patches/dwm-focusurgent-20160831-56a31dc.diff b/dwm.suckless.org/patches/dwm-focusurgent-20160831-56a31dc.diff
index 9bd92e5..02326f4 100644
--- a/dwm.suckless.org/patches/dwm-focusurgent-20160831-56a31dc.diff
+++ b/dwm.suckless.org/patches/dwm-focusurgent-20160831-56a31dc.diff
_AT_@ -34,7 +34,7 @@ Index: clean/dwm/focusurgent.c
+ Client *c;
+ int i;
+ for(c=selmon->clients; c && !c->isurgent; c=c->next);
-+ if(c && c->isurgent) {
++ if(c) {
+ for(i=0; i < LENGTH(tags) && !((1 << i) & c->tags); i++);
+ if(i < LENGTH(tags)) {
+ const Arg a = {.ui = 1 << i};
Received on Thu Sep 01 2016 - 07:42:09 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 01 2016 - 07:48:21 CEST