From 6499fc4f938eb7e61ab3e25df3904db9c890c693 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Tue, 5 Sep 2006 09:02:37 +0200 Subject: I really need column growing, now pushing upstream --- view.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'view.c') diff --git a/view.c b/view.c index ac3d495..dc10e5e 100644 --- a/view.c +++ b/view.c @@ -169,6 +169,24 @@ focusprev(Arg *arg) } } +void +growcol(Arg *arg) +{ + if(!sel || (arrange != dotile)) + return; + if(sel == getnext(clients)) { + if(mw + arg->i > sw - 100) + return; + mw += arg->i; + } + else { + if(mw - arg->i < 100) + return; + mw -= arg->i; + } + arrange(NULL); +} + Bool isvisible(Client *c) { -- cgit v1.2.3