summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--client.c1
-rw-r--r--config.mk2
-rw-r--r--dwm.12
-rw-r--r--screen.c2
-rw-r--r--tile.c3
5 files changed, 5 insertions, 5 deletions
diff --git a/client.c b/client.c
index a105514..cd16e11 100644
--- a/client.c
+++ b/client.c
@@ -229,6 +229,7 @@ manage(Window w, XWindowAttributes *wa) {
229 XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */ 229 XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
230 ban(c); 230 ban(c);
231 XMapWindow(dpy, c->win); 231 XMapWindow(dpy, c->win);
232 setclientstate(c, NormalState);
232 arrange(); 233 arrange();
233} 234}
234 235
diff --git a/config.mk b/config.mk
index 320aea1..f9b5f7f 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
1# dwm version 1# dwm version
2VERSION = 4.4 2VERSION = 4.4.1
3 3
4# Customize below to fit your system 4# Customize below to fit your system
5 5
diff --git a/dwm.1 b/dwm.1
index 885405a..cf197f5 100644
--- a/dwm.1
+++ b/dwm.1
@@ -97,7 +97,7 @@ Close focused window.
97Toggle between tiled and floating layout (affects all windows). 97Toggle between tiled and floating layout (affects all windows).
98.TP 98.TP
99.B Mod1\-Shift\-space 99.B Mod1\-Shift\-space
100Toggle focused window between tiled and floating state (tiled layout only). 100Toggle focused window between tiled and floating state.
101.TP 101.TP
102.B Mod1\-[1..n] 102.B Mod1\-[1..n]
103View all windows with 103View all windows with
diff --git a/screen.c b/screen.c
index 8d04911..255184a 100644
--- a/screen.c
+++ b/screen.c
@@ -284,7 +284,7 @@ togglebar(const char *arg) {
284 284
285void 285void
286togglefloating(const char *arg) { 286togglefloating(const char *arg) {
287 if(!sel || isfloating()) 287 if(!sel)
288 return; 288 return;
289 sel->isfloating = !sel->isfloating; 289 sel->isfloating = !sel->isfloating;
290 if(sel->isfloating) 290 if(sel->isfloating)
diff --git a/tile.c b/tile.c
index 114e84c..7915441 100644
--- a/tile.c
+++ b/tile.c
@@ -46,7 +46,7 @@ tile(void) {
46 46
47 nx = wax; 47 nx = wax;
48 ny = way; 48 ny = way;
49 for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) { 49 for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next), i++) {
50 c->ismax = False; 50 c->ismax = False;
51 if(i == 0) { /* master */ 51 if(i == 0) { /* master */
52 nw = mw - 2 * c->border; 52 nw = mw - 2 * c->border;
@@ -66,7 +66,6 @@ tile(void) {
66 resize(c, nx, ny, nw, nh, False); 66 resize(c, nx, ny, nw, nh, False);
67 if(n > 1 && th != wah) 67 if(n > 1 && th != wah)
68 ny += nh + 2 * c->border; 68 ny += nh + 2 * c->border;
69 i++;
70 } 69 }
71} 70}
72 71