about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-10-05 18:23:28 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-05 18:23:28 +0200
commit1c1d09f3e9eb18175f48bcc212d07684577ba4a6 (patch)
tree67f91cfdf4959defb12f6de97b1d78f0ce67e39e
parent0384faeee5308d992e60084dd6565c78e6e11af4 (diff)
downloaddwm-1c1d09f3e9eb18175f48bcc212d07684577ba4a6.tar.gz
small boundary check fix
-rw-r--r--view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/view.c b/view.c
index 1ca1027..70b0253 100644
--- a/view.c
+++ b/view.c
@@ -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;
 	}
n98'>98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194