restoring tip to be a working dwm again (switching FONT to terminus in config.arg.h) 4.3
authorarg@f00b4r
Thu, 12 Jul 2007 19:45:28 +0200
changeset 921 e0ec0d5d8b1e
parent 920 7f8c81c4bc9a
child 922 dffe81e7e32e
restoring tip to be a working dwm again (switching FONT to terminus in config.arg.h)
config.arg.h
event.c
--- a/config.arg.h	Tue Jun 19 09:08:15 2007 +0200
+++ b/config.arg.h	Thu Jul 12 19:45:28 2007 +0200
@@ -3,7 +3,7 @@
 /* appearance */
 #define BARPOS			BarTop /* BarBot, BarOff */
 #define BORDERPX		1
-#define FONT			"-*-pixelcarnage monospace-*-r-*-*-14-*-*-*-*-*-*-*"
+#define FONT			"-*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-*"
 #define NORMBORDERCOLOR		"#333"
 #define NORMBGCOLOR		"#222"
 #define NORMFGCOLOR		"#ccc"
--- a/event.c	Tue Jun 19 09:08:15 2007 +0200
+++ b/event.c	Thu Jul 12 19:45:28 2007 +0200
@@ -301,8 +301,7 @@
 
 	if(!XGetWindowAttributes(dpy, ev->window, &wa))
 		return;
-	fprintf(stderr, "does the window suck? %s\n", wa.map_state == IsViewable ? "no" : "yes");
-	if(wa.override_redirect || wa.map_state != IsViewable)
+	if(wa.override_redirect)
 		return;
 	if(!getclient(ev->window))
 		manage(ev->window, &wa);