comparison view.c @ 450:728c9089b079 1.5

applied sanders patch of not manipulating sel
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 08 Sep 2006 08:19:54 +0200
parents a2e587651c79
children 9d23330a5268
comparison
equal deleted inserted replaced
449:78d36a1dd1d9 450:728c9089b079
75 } 75 }
76 else 76 else
77 ban(c); 77 ban(c);
78 } 78 }
79 if(!sel || !isvisible(sel)) { 79 if(!sel || !isvisible(sel)) {
80 for(sel = stack; sel && !isvisible(sel); sel = sel->snext); 80 for(c = stack; c && !isvisible(c); c = c->snext);
81 focus(sel); 81 focus(c);
82 } 82 }
83 restack(); 83 restack();
84 } 84 }
85 85
86 void 86 void
139 } 139 }
140 else 140 else
141 ban(c); 141 ban(c);
142 } 142 }
143 if(!sel || !isvisible(sel)) { 143 if(!sel || !isvisible(sel)) {
144 for(sel = stack; sel && !isvisible(sel); sel = sel->snext); 144 for(c = stack; c && !isvisible(c); c = c->snext);
145 focus(sel); 145 focus(c);
146 } 146 }
147 restack(); 147 restack();
148 } 148 }
149 149
150 void 150 void