about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorarg@f00b4r <unknown>2007-07-12 19:45:28 +0200
committerarg@f00b4r <unknown>2007-07-12 19:45:28 +0200
commitc31648d15d7a9bd0c7915989212d9cf0d75cdf1f (patch)
treeadc6e2400530a998cf07b3fb1ff3b8b1084bf084
parent52250e7c1e54d0ec8cd7d4667ba34137fcfef908 (diff)
downloaddwm-c31648d15d7a9bd0c7915989212d9cf0d75cdf1f.tar.gz
restoring tip to be a working dwm again (switching FONT to terminus in config.arg.h) 4.3
-rw-r--r--config.arg.h2
-rw-r--r--event.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/config.arg.h b/config.arg.h
index bc3adb4..8967285 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -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"
diff --git a/event.c b/event.c
index 9897640..ad4e271 100644
--- a/event.c
+++ b/event.c
@@ -301,8 +301,7 @@ maprequest(XEvent *e) {
 
 	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);