Mercurial > aewl
comparison view.c @ 654:04734db9a219
allowing zoom within master area as well
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Fri, 05 Jan 2007 15:08:25 +0100 (2007-01-05) |
parents | b9f4efd21473 |
children | c30805f6bb08 |
comparison
equal
deleted
inserted
replaced
653:99bc71d78a95 | 654:04734db9a219 |
---|---|
300 togglemax(sel); | 300 togglemax(sel); |
301 return; | 301 return; |
302 } | 302 } |
303 for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) | 303 for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) |
304 n++; | 304 n++; |
305 | |
306 c = sel; | |
305 if(n <= nmaster || (arrange == dofloat)) | 307 if(n <= nmaster || (arrange == dofloat)) |
306 return; | 308 pop(c); |
307 | 309 else if(ismaster(sel)) { |
308 if(ismaster((c = sel))) { | |
309 if(!(c = topofstack())) | 310 if(!(c = topofstack())) |
310 return; | 311 return; |
311 swap(c, sel); | 312 swap(c, sel); |
312 c = sel; | 313 c = sel; |
313 } | 314 } |