Mercurial > dwm-meillo
comparison tag.c @ 143:36cabfe408cd
applied Sanders patches
author | arg@10ksloc.org |
---|---|
date | Tue, 01 Aug 2006 12:32:33 +0200 |
parents | 9b9deafa0508 |
children | e61447a7f249 |
comparison
equal
deleted
inserted
replaced
142:9b9deafa0508 | 143:36cabfe408cd |
---|---|
65 if(sel && !sel->tags[tsel]) { | 65 if(sel && !sel->tags[tsel]) { |
66 if((sel = getnext(clients))) { | 66 if((sel = getnext(clients))) { |
67 higher(sel); | 67 higher(sel); |
68 focus(sel); | 68 focus(sel); |
69 } | 69 } |
70 else | |
71 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); | |
70 } | 72 } |
71 drawall(); | 73 drawall(); |
72 } | 74 } |
73 | 75 |
74 void | 76 void |
128 if(!sel || (sel && !sel->tags[tsel])) { | 130 if(!sel || (sel && !sel->tags[tsel])) { |
129 if((sel = getnext(clients))) { | 131 if((sel = getnext(clients))) { |
130 higher(sel); | 132 higher(sel); |
131 focus(sel); | 133 focus(sel); |
132 } | 134 } |
135 else | |
136 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); | |
133 } | 137 } |
134 drawall(); | 138 drawall(); |
135 } | 139 } |
136 | 140 |
137 Client * | 141 Client * |