tallowing zoom within master area as well - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0faaba04a589c288a3f117f6c5b2c259c2b6790d
(DIR) parent ec7a5ffff146d71f16d4d9de78db0f1044aa9bc9
(HTM) Author: Anselm R. Garbe <arg@suckless.org>
Date: Fri, 5 Jan 2007 15:08:25 +0100
allowing zoom within master area as well
Diffstat:
M view.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/view.c b/view.c
t@@ -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);