prepared 4.4.1 bugfix and minor feature enhancement release a92cf496
Anselm R. Garbe · 2007-08-26 12:53 5 file(s) · +5 −5
client.c +1 −0
229 229
	XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
230 230
	ban(c);
231 231
	XMapWindow(dpy, c->win);
232 +
	setclientstate(c, NormalState);
232 233
	arrange();
233 234
}
234 235
config.mk +1 −1
1 1
# dwm version
2 -
VERSION = 4.4
2 +
VERSION = 4.4.1
3 3
4 4
# Customize below to fit your system
5 5
dwm.1 +1 −1
97 97
Toggle between tiled and floating layout (affects all windows).
98 98
.TP
99 99
.B Mod1\-Shift\-space
100 -
Toggle focused window between tiled and floating state (tiled layout only).
100 +
Toggle focused window between tiled and floating state.
101 101
.TP
102 102
.B Mod1\-[1..n]
103 103
View all windows with
screen.c +1 −1
284 284
285 285
void
286 286
togglefloating(const char *arg) {
287 -
	if(!sel || isfloating())
287 +
	if(!sel)
288 288
		return;
289 289
	sel->isfloating = !sel->isfloating;
290 290
	if(sel->isfloating)
tile.c +1 −2
46 46
47 47
	nx = wax;
48 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 50
		c->ismax = False;
51 51
		if(i == 0) { /* master */
52 52
			nw = mw - 2 * c->border;
66 66
		resize(c, nx, ny, nw, nh, False);
67 67
		if(n > 1 && th != wah)
68 68
			ny += nh + 2 * c->border;
69 -
		i++;
70 69
	}
71 70
}
72 71