about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.mk2
-rw-r--r--dwm.14
-rw-r--r--view.c19
3 files changed, 5 insertions, 20 deletions
diff --git a/config.mk b/config.mk
index 17e15cb..2e8594a 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 2.0
+VERSION = 2.1
 
 # Customize below to fit your system
 
diff --git a/dwm.1 b/dwm.1
index eb396e7..f1b030e 100644
--- a/dwm.1
+++ b/dwm.1
@@ -63,10 +63,10 @@ Focus previous window.
 Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
 .TP
 .B Mod1-g
-Grow current area (tiling mode only).
+Grow master area (tiling mode only).
 .TP
 .B Mod1-s
-Shrink current area (tiling mode only).
+Shrink master area (tiling mode only).
 .TP
 .B Mod1-Shift-[1..n]
 Apply
diff --git a/view.c b/view.c
index 85bfabf..4f42abe 100644
--- a/view.c
+++ b/view.c
@@ -196,24 +196,9 @@ isvisible(Client *c) {
 
 void
 resizecol(Arg *arg) {
-	unsigned int n;
-	Client *c;
-
-	for(n = 0, c = clients; c; c = c->next)
-		if(isvisible(c) && !c->isfloat)
-			n++;
-	if(!sel || sel->isfloat || n < 2 || (arrange == dofloat))
+	if(master + arg->i > 950 || master + arg->i < 50)
 		return;
-	if(sel == getnext(clients)) {
-		if(master + arg->i > 950 || master + arg->i < 50)
-			return;
-		master += arg->i;
-	}
-	else {
-		if(master - arg->i > 950 || master - arg->i < 50)
-			return;
-		master -= arg->i;
-	}
+	master += arg->i;
 	arrange();
 }
 
178' href='#n178'>178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336