restoring tip to be a working dwm again (switching FONT to terminus in config.arg.h) c31648d1
arg@f00b4r · 2007-07-12 19:45 2 file(s) · +2 −3
config.arg.h +1 −1
3 3
/* appearance */
4 4
#define BARPOS			BarTop /* BarBot, BarOff */
5 5
#define BORDERPX		1
6 -
#define FONT			"-*-pixelcarnage monospace-*-r-*-*-14-*-*-*-*-*-*-*"
6 +
#define FONT			"-*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-*"
7 7
#define NORMBORDERCOLOR		"#333"
8 8
#define NORMBGCOLOR		"#222"
9 9
#define NORMFGCOLOR		"#ccc"
event.c +1 −2
301 301
302 302
	if(!XGetWindowAttributes(dpy, ev->window, &wa))
303 303
		return;
304 -
	fprintf(stderr, "does the window suck? %s\n", wa.map_state == IsViewable ? "no" : "yes");
305 -
	if(wa.override_redirect || wa.map_state != IsViewable)
304 +
	if(wa.override_redirect)
306 305
		return;
307 306
	if(!getclient(ev->window))
308 307
		manage(ev->window, &wa);