changing XFlush into XSync f60c597d
Anselm R. Garbe · 2006-07-15 18:11 4 file(s) · +11 −6
dwm.h +5 −0
8 8
/********** CUSTOMIZE **********/
9 9
10 10
#define FONT				"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
11 +
#define BGCOLOR				"#0a2c2d"
12 +
#define FGCOLOR				"#ddeeee"
13 +
#define BORDERCOLOR			"#176164"
14 +
/*
11 15
#define BGCOLOR				"#666699"
12 16
#define FGCOLOR				"#eeeeee"
13 17
#define BORDERCOLOR			"#9999CC"
18 +
*/
14 19
#define MASTERW				52 /* percent */
15 20
#define WM_PROTOCOL_DELWIN	1
16 21
dwm.html +3 −3
74 74
			wmiir and what not...
75 75
			</li>
76 76
			<li>
77 -
			garbeam <b>does not</b> want any feedback to dwm. If you ask for support,
77 +
			Anselm <b>does not</b> want any feedback to dwm. If you ask for support,
78 78
			feature requests, or if you report bugs, they will be <b>ignored</b>
79 -
			with a high chance. dwm is only intended to fit garbeams needs.
79 +
			with a high chance. dwm is only intended to fit Anselms needs.
80 80
			However you are free to download and distribute/relicense it, with the
81 81
			conditions of the <a href="http://wmii.de/cgi-bin/hgwebdir.cgi/dwm?f=f10eb1139362;file=LICENSE;style=raw">MIT/X Consortium license</a>.
82 82
			</li>
99 99
		<h3>Miscellaneous</h3>
100 100
		<p>
101 101
		You can purchase this <a href="https://www.spreadshirt.net/shop.php?op=article&article_id=3298632&view=403">tricot</a>
102 -
		if you like dwm and the dwm logo, which has been designed by garbeam.
102 +
		if you like dwm and the dwm logo, which has been designed by Anselm.
103 103
		</p>
104 104
		<p><small>--Anselm (20060714)</small></p>
105 105
	</body>
event.c +1 −1
128 128
	Client *c;
129 129
130 130
	if(barwin == ev->window) {
131 -
		x = (arrange == dofloat) ? textw("~") : 0;
131 +
		x = 0;
132 132
		for(a.i = 0; a.i < TLast; a.i++) {
133 133
			x += textw(tags[a.i]);
134 134
			if(ev->x < x) {
main.c +2 −2
204 204
	XSetErrorHandler(xerrorstart);
205 205
	/* this causes an error if some other WM is running */
206 206
	XSelectInput(dpy, root, SubstructureRedirectMask);
207 -
	XFlush(dpy);
207 +
	XSync(dpy, False);
208 208
209 209
	if(otherwm)
210 210
		eprint("dwm: another window manager is already running\n");
211 211
212 -
	XSetErrorHandler(0);
212 +
	XSetErrorHandler(NULL);
213 213
	xerrorxlib = XSetErrorHandler(xerror);
214 214
215 215
	/* init atoms */