tsmall boundary check fix - 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 1c1d09f3e9eb18175f48bcc212d07684577ba4a6
(DIR) parent 0384faeee5308d992e60084dd6565c78e6e11af4
(HTM) Author: Anselm R. Garbe <arg@10kloc.org>
Date: Thu, 5 Oct 2006 18:23:28 +0200
small boundary check fix
Diffstat:
M view.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/view.c b/view.c
t@@ -248,12 +248,12 @@ resizecol(Arg *arg) {
return;
if(sel == getnext(clients)) {
- if(master + arg->i > 95 || master + arg->i < 5)
+ if(master + arg->i > 950 || master + arg->i < 50)
return;
master += arg->i;
}
else {
- if(master - arg->i > 95 || master - arg->i < 5)
+ if(master - arg->i > 950 || master - arg->i < 50)
return;
master -= arg->i;
}