aewl
diff tag.c @ 194:655e38416bb8
fixed view-change bug reported on the list
author | arg@10ksloc.org |
---|---|
date | Fri, 04 Aug 2006 18:17:02 +0200 |
parents | 56fee1dc9d53 |
children | 87c5d5176e17 |
line diff
1.1 --- a/tag.c Fri Aug 04 17:04:50 2006 +0200 1.2 +++ b/tag.c Fri Aug 04 18:17:02 2006 +0200 1.3 @@ -57,14 +57,12 @@ 1.4 else 1.5 ban(c); 1.6 } 1.7 - if(sel && !sel->tags[tsel]) { 1.8 - if((sel = getnext(clients))) { 1.9 - higher(sel); 1.10 - focus(sel); 1.11 - } 1.12 - else 1.13 - XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); 1.14 + if((sel = getnext(clients))) { 1.15 + higher(sel); 1.16 + focus(sel); 1.17 } 1.18 + else 1.19 + XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); 1.20 drawall(); 1.21 } 1.22 1.23 @@ -122,14 +120,12 @@ 1.24 else 1.25 ban(c); 1.26 } 1.27 - if(!sel || (sel && !sel->tags[tsel])) { 1.28 - if((sel = getnext(clients))) { 1.29 - higher(sel); 1.30 - focus(sel); 1.31 - } 1.32 - else 1.33 - XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); 1.34 + if((sel = getnext(clients))) { 1.35 + higher(sel); 1.36 + focus(sel); 1.37 } 1.38 + else 1.39 + XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); 1.40 drawall(); 1.41 } 1.42