all repos — dwm @ f78c16f8c6134262da3f07cd7c8c33ca6d62a261

my dwm build

applied Jukkas patch
arg@mig29 unknown
Fri, 03 Nov 2006 08:29:39 +0100
commit

f78c16f8c6134262da3f07cd7c8c33ca6d62a261

parent

0c5f47e720d2c1fa5b3f2672ec03d0f267e62c90

1 files changed, 7 insertions(+), 3 deletions(-)

jump to
M view.cview.c

@@ -196,9 +196,13 @@ }

void resizemaster(Arg *arg) { - if(master + arg->i > 950 || master + arg->i < 50) - return; - master += arg->i; + if(arg->i == 0) + master = MASTER; + else { + if(master + arg->i > 950 || master + arg->i < 50) + return; + master += arg->i; + } arrange(); }