From a92cf496c18189f9cbc7c1d7f8edcebbd1d7ff99 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sun, 26 Aug 2007 12:53:40 +0200 Subject: prepared 4.4.1 bugfix and minor feature enhancement release --- client.c | 1 + config.mk | 2 +- dwm.1 | 2 +- screen.c | 2 +- tile.c | 3 +-- 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) { 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(); } diff --git a/config.mk b/config.mk index 320aea1..f9b5f7f 100644 --- 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 885405a..cf197f5 100644 --- 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 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) { 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 114e84c..7915441 100644 --- 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++; } } -- cgit 1.4.1-2-gfad0
path: root/dwm.1
blob: a2d6767e52804a9d6fc0ed77b8ed6b8d85a7f19e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157