]> git.armaanb.net Git - dwm.git/commitdiff
prepared 4.4.1 bugfix and minor feature enhancement release
authorAnselm R. Garbe <garbeam@gmail.com>
Sun, 26 Aug 2007 10:53:40 +0000 (12:53 +0200)
committerAnselm R. Garbe <garbeam@gmail.com>
Sun, 26 Aug 2007 10:53:40 +0000 (12:53 +0200)
client.c
config.mk
dwm.1
screen.c
tile.c

index a1055148cb3304dfed4f694fffee4a1497718ca2..cd16e11867f2b4ba85c9730bc600ebdb6c188874 100644 (file)
--- a/client.c
+++ b/client.c
@@ -229,6 +229,7 @@ manage(Window w, XWindowAttributes *wa) {
        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();
 }
 
index 320aea1ebd586ef1f8b5690c0d23b8dd3a8f1056..f9b5f7fa765f44a1e5efb905a3482f2f55c6b351 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 4.4
+VERSION = 4.4.1
 
 # Customize below to fit your system
 
diff --git a/dwm.1 b/dwm.1
index 885405aeca593589e853bad836870b85d6e5d96a..cf197f5fdc15f91621da9f7a45373aec57d88cd6 100644 (file)
--- a/dwm.1
+++ b/dwm.1
@@ -97,7 +97,7 @@ Close focused window.
 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
index 8d04911644cbe44228fe340d8490b3dd1ac0210d..255184a686c44aa68027813ff4f035c06676e24c 100644 (file)
--- a/screen.c
+++ b/screen.c
@@ -284,7 +284,7 @@ togglebar(const char *arg) {
 
 void
 togglefloating(const char *arg) {
-       if(!sel || isfloating())
+       if(!sel)
                return;
        sel->isfloating = !sel->isfloating;
        if(sel->isfloating)
diff --git a/tile.c b/tile.c
index 114e84c2c89ee90cd9813fa6d7137a9f2965ffa4..7915441d05f2e00e9a6b809ee08251965ed924c3 100644 (file)
--- a/tile.c
+++ b/tile.c
@@ -46,7 +46,7 @@ tile(void) {
 
        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 @@ tile(void) {
                resize(c, nx, ny, nw, nh, False);
                if(n > 1 && th != wah)
                        ny += nh + 2 * c->border;
-               i++;
        }
 }