prepared 4.4.1 bugfix and minor feature enhancement release 4.4.1
authorAnselm R. Garbe <garbeam@gmail.com>
Sun, 26 Aug 2007 12:53:40 +0200
changeset 976 7c117df5d202
parent 975 1c30ac0aee7f
child 977 795c26a59016
prepared 4.4.1 bugfix and minor feature enhancement release
client.c
config.mk
dwm.1
screen.c
tile.c
--- a/client.c	Thu Aug 23 18:15:13 2007 +0200
+++ b/client.c	Sun Aug 26 12:53:40 2007 +0200
@@ -229,6 +229,7 @@
 	XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
 	ban(c);
 	XMapWindow(dpy, c->win);
+	setclientstate(c, NormalState);
 	arrange();
 }
 
--- a/config.mk	Thu Aug 23 18:15:13 2007 +0200
+++ b/config.mk	Sun Aug 26 12:53:40 2007 +0200
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 4.4
+VERSION = 4.4.1
 
 # Customize below to fit your system
 
--- a/dwm.1	Thu Aug 23 18:15:13 2007 +0200
+++ b/dwm.1	Sun Aug 26 12:53:40 2007 +0200
@@ -97,7 +97,7 @@
 Toggle between tiled and floating layout (affects all windows).
 .TP
 .B Mod1\-Shift\-space
-Toggle focused window between tiled and floating state (tiled layout only).
+Toggle focused window between tiled and floating state.
 .TP
 .B Mod1\-[1..n]
 View all windows with
--- a/screen.c	Thu Aug 23 18:15:13 2007 +0200
+++ b/screen.c	Sun Aug 26 12:53:40 2007 +0200
@@ -284,7 +284,7 @@
 
 void
 togglefloating(const char *arg) {
-	if(!sel || isfloating())
+	if(!sel)
 		return;
 	sel->isfloating = !sel->isfloating;
 	if(sel->isfloating)
--- a/tile.c	Thu Aug 23 18:15:13 2007 +0200
+++ b/tile.c	Sun Aug 26 12:53:40 2007 +0200
@@ -46,7 +46,7 @@
 
 	nx = wax;
 	ny = way;
-	for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) {
+	for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next), i++) {
 		c->ismax = False;
 		if(i == 0) { /* master */
 			nw = mw - 2 * c->border;
@@ -66,7 +66,6 @@
 		resize(c, nx, ny, nw, nh, False);
 		if(n > 1 && th != wah)
 			ny += nh + 2 * c->border;
-		i++;
 	}
 }