about summary refs log tree commit diff stats
path: root/dwm.c
Commit message (Collapse)AuthorAgeFilesLines
* gettextprop: check result of XGetTextProperty (undefined behaviour for XFree)Hiltjo Posthuma2017-11-031-2/+1
|
* Set class name on status barOmar Sandoval2017-11-031-0/+2
| | | | | This is useful for configuring compositors to ignore the status bar window.
* simplify isfixed conditionsDaniel Cousens2017-10-111-2/+1
|
* yet another cleanupAnselm R Garbe2017-05-081-34/+34
| | | | | The previous patches introduced some unclean space-based indentation patterns. This patch fixes them.
* Don't restrict snap in mousemoveMarkus Teich2017-03-281-14/+11
| | | | | This also fixes a bug where client windows only switch to floating mode when the mouse is dragged in one specific direction.
* Button passthrough when client is not focusedMarkus Teich2017-03-281-10/+11
| | | | | | | | | | | Before this change it is not possible to press a button in a client on the first click if the client is not yet focused. The first click on the button would only focus the client and a second click on the button is needed to activate it. This situation can occur when moving the mouse over a client (therefore focusing it) and then moving the focus to another client with keyboard shortcuts. After this commit the behavior is fixed and button presses on unfocused clients are passed to the client correctly.
* cleanupMarkus Teich2017-03-281-34/+30
| | | | | | | | | | | | | | - unify multi-line expression alignment style. - unify multi-line function call alignment style. - simplify client moving on monitor count decrease. - clarify comment for focusin(). - remove old confusing comment about input focus fix in focusmon(). The explanation is already in the old commit message, so no need to keep it in the code. - remove old comment describing even older state of the code in focus(). - unify comment style. - break up some long lines. - fix some typos and grammar.
* applied Markus' tagset purge of alternative view on _NET_ACTIVE_WINDOW eventAnselm R Garbe2016-12-051-20/+18
|
* applied Ivan Delalande's NET_SUPPORTING_WM_CHECK patch for gtk3 compatibilityAnselm R Garbe2016-12-051-2/+14
|
* applied Markus' decouple color-scheme patchAnselm R Garbe2016-12-051-5/+7
|
* applied Markus' clarify status text padding patchAnselm R Garbe2016-12-051-2/+2
|
* die() consistency: always add newlineHiltjo Posthuma2016-08-121-5/+5
|
* import new drw from libsl and minor fixes.Markus Teich2016-06-261-46/+39
| | | | | - better scaling for occupied tag squares. - draw statusline first to omitt some complicated calculations.
* Configure geometry before applying rulesEric Pruitt2016-06-241-6/+7
| | | | | | Configuring geometry before applying rules makes it possible to have more complex constraints in applyrules that depend on the initial window dimensions and location.
* fix fullscreen clients not resized on X display resolution changeHiltjo Posthuma2015-12-191-1/+6
| | | | patch provided by Bert Münnich <ber.t_AT_posteo.de>, thanks!
* code-style consistency 6.1Hiltjo Posthuma2015-11-081-433/+503
|
* unboolificationHiltjo Posthuma2015-11-081-71/+70
|
* sort include + whitespace fixHiltjo Posthuma2015-11-081-3/+3
|
* separate program-specific c99 bool and X11Hiltjo Posthuma2015-11-081-70/+72
| | | | | True, False are X11-specific (int), make sure to use c99 stdbool for program-specific things.
* setfullscreen: don't process the property twiceQuentin Rameau2015-11-071-2/+2
| | | | | | | | | | Some clients try to set _NET_WM_STATE_FULLSCREEN even when the window is already in fullscreen. For example, c->oldstate was set two times in a raw and window would then always be floating. We must check that it's not the case before processing it. (original patch modified with suggestion from Markus Teich <markus.teich@stusta.mhn.de>)
* sync updated drw code from dmenuHiltjo Posthuma2015-10-201-4/+6
| | | | | | important: - drw_rect: didn't use w and h, change the dwm code accordingly. - drw_text: text is NULL is not allowed, use drw_rect().
* dwm: use ecalloc, prevent theoretical overflowHiltjo Posthuma2015-10-201-6/+3
|
* cleanup, dont use c++ style commentsHiltjo Posthuma2015-10-201-4/+4
| | | | | | - signal: print error string. - die: start message with lower-case (consistency). - bump version to 2015.
* dwm: cleanup: free schemes and cursors as arrayHiltjo Posthuma2015-10-201-9/+8
|
* Add Xft and follback-fonts support to graphics libEric Pruitt2015-03-131-10/+10
|
* applied Hiltjo's resize/move limitationAnselm R Garbe2014-08-111-2/+11
| | | | | | "Limit the amount of updates when resizing or moving a window in floating mode to 60 times per second. This makes resizing and moving alot smoother and by limiting it it also uses alot less resources on my machine.
* same as before with dwm.c as wellAnselm R Garbe2014-05-291-1/+1
|
* applied Lukas' focus suggestion at startup, thanksAnselm R Garbe2013-08-271-0/+1
|
* applied improved version of Martti Kühne's dmenu/multi monitor approach ↵Anselm R Garbe2013-08-021-0/+2
| | | | from dwm, no dmenuspawn required
* applied Julian's enum approach,Anselm R Garbe2013-06-191-25/+24
| | | | however renamed theme into scheme resp. Theme into ClrScheme
* finished libsl/drw integrationAnselm R Garbe2013-06-161-183/+70
|
* renamed draw into drwAnselm R Garbe2013-04-171-1/+1
|
* continued with draw.c abstraction, also started util.{h,c} implementation, ↵Anselm R Garbe2012-12-081-13/+1
| | | | that will be used by draw.c as well
* reverting the xkb dependency, I don't care if this function is deprecated, ↵anselm@garbe.us2012-11-181-9/+2
| | | | it seems it breaks other stuff instead.
* reverting to plain X11 fonts in order to implement draw.c defaultanselm@garbe.us2012-11-181-36/+66
|
* compile fixanselm@garbe.us2012-11-171-2/+2
|
* applied Neil Klopfstein's patch, slightly modifiedanselm@garbe.us2012-11-171-2/+8
|
* starting with initial draw.hanselm@garbe.us2012-11-171-0/+2
|
* incorporating Xft instead of cairo, cairo provides far too many optionsanselm@garbe.us2012-11-021-66/+36
|
* reverted to old updategeom() after several complains, we need to optimize ↵anselm@garbe.us2012-07-081-53/+70
| | | | the old way
* applied James Turner's XkbKeycodeToKeysym patch, thanksanselm@garbe.us2012-06-231-1/+2
|
* drastically changed updategeom() handling, see comment in updategeom() for ↵anselm@garbe.us2012-06-231-70/+53
| | | | details
* reversed Andreas Amann's fullscreen fix with the approach proposed by Gary ↵anselm@garbe.us2012-06-231-11/+10
| | | | | | Langshaw: - idea is not supporting movemouse/resizemouse/togglefloating for fullscreen windows - as fullscreen windows are broken anyways, they should only be adjusted by their own means
* added kludge to fix some input focus misbehavior in gedit and anjuta, thanks ↵anselm@garbe.us2012-04-151-1/+2
| | | | Martti Kühne
* applied Andreas Amanns' netwm_client_list patch, but with some indentation fixesanselm@garbe.us2012-03-251-1/+20
|
* applied Andreas Amann's netwm_active_window patch, thxanselm@garbe.us2012-03-251-3/+12
|
* applied Andreas Amann fullscreen fix, some minor modificationsanselm@garbe.us2012-03-171-3/+10
|
* unfocus on slow sloppy monitor focusConnor Lane Smith2012-02-101-0/+1
|
* applied Eckehard Berns fix fix, sorry that this took so longanselm@garbe.us2012-02-081-3/+5
|
* applied Eckehard Berns barwin leak fix and his suggestion to deal with ↵anselm@garbe.us2012-01-121-3/+3
| | | | restack() -- the latter aspect needs further investigation.
'alt'>
78bd151c ^

dab37236 ^
78bd151c ^
dab37236 ^

7a9d127a ^
dab37236 ^
78bd151c ^
dab37236 ^

7a9d127a ^
dab37236 ^






30d30133 ^


7a9d127a ^
dab37236 ^
7a9d127a ^
dab37236 ^

78bd151c ^
7a9d127a ^
dab37236 ^
f23f768d ^
b1bf0540 ^
f23f768d ^
b1bf0540 ^

f23f768d ^
f7584469 ^
b1bf0540 ^



f7584469 ^
b1bf0540 ^

f7584469 ^
b1bf0540 ^





f7584469 ^
b1bf0540 ^



f7584469 ^
b1bf0540 ^
f7584469 ^

b1bf0540 ^

f7584469 ^
dab37236 ^












b1bf0540 ^

dab37236 ^
b1bf0540 ^




f23f768d ^
b1bf0540 ^





f23f768d ^

b1bf0540 ^
f23f768d ^
b1bf0540 ^

f23f768d ^

dab37236 ^
2b743ea9 ^
7a9d127a ^
dab37236 ^

2b743ea9 ^
7a9d127a ^




30d30133 ^

e6b076ce ^
30d30133 ^

e6b076ce ^


2b743ea9 ^



e6b076ce ^

2b743ea9 ^




e6b076ce ^
2b743ea9 ^
e6b076ce ^




dab37236 ^
e6b076ce ^


dab37236 ^
e6b076ce ^
dab37236 ^


2b743ea9 ^
dab37236 ^

e6b076ce ^

dab37236 ^
e6b076ce ^

30d30133 ^














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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327