[hackers] [dwm] don't resize master if not in tiled mode

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon Feb 19 10:52:46 2007

changeset: 765:e4e7c6dc0785
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Mon Feb 19 10:51:11 2007 +0100
summary: don't resize master if not in tiled mode

diff -r 759a5fbbd8b7 -r e4e7c6dc0785 view.c
--- a/view.c Fri Feb 16 16:51:27 2007 +0100
+++ b/view.c Mon Feb 19 10:51:11 2007 +0100
@@ -177,6 +177,8 @@ isvisible(Client *c) {
 
 void
 resizemaster(Arg *arg) {
+ if(arrange != dotile)
+ return;
         if(arg->i == 0)
                 master = MASTER;
         else {
Received on Mon Feb 19 2007 - 10:52:46 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:26 UTC