prepared 4.4.1 bugfix and minor feature enhancement release - dwm - dynamic window manager HTML git clone https://git.parazyd.org/dwm DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit a92cf496c18189f9cbc7c1d7f8edcebbd1d7ff99 DIR parent cc7970010bd78e700d790b12617a50c9f9fd45a8 HTML Author: Anselm R. Garbe <garbeam@gmail.com> Date: Sun, 26 Aug 2007 12:53:40 +0200 prepared 4.4.1 bugfix and minor feature enhancement release Diffstat: M client.c | 1 + M config.mk | 2 +- M dwm.1 | 2 +- M screen.c | 2 +- M tile.c | 3 +-- 5 files changed, 5 insertions(+), 5 deletions(-) --- DIR diff --git 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(); } DIR diff --git 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 DIR diff --git 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 DIR diff --git 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) DIR diff --git 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++; } }