projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec7a5ff
)
allowing zoom within master area as well
author
Anselm R. Garbe
<arg@suckless.org>
Fri, 5 Jan 2007 14:08:25 +0000
(15:08 +0100)
committer
Anselm R. Garbe
<arg@suckless.org>
Fri, 5 Jan 2007 14:08:25 +0000
(15:08 +0100)
view.c
patch
|
blob
|
history
diff --git
a/view.c
b/view.c
index 2143d70bde04da6ab4078268b047de7999ee0add..b4de57383f6f3c015e6a7a798464775afb54fdf3 100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-302,10
+302,11
@@
zoom(Arg *arg) {
}
for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
n++;
- if(n <= nmaster || (arrange == dofloat))
- return;
- if(ismaster((c = sel))) {
+ c = sel;
+ if(n <= nmaster || (arrange == dofloat))
+ pop(c);
+ else if(ismaster(sel)) {
if(!(c = topofstack()))
return;
swap(c, sel);