summaryrefslogtreecommitdiffstats
path: root/event.c
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 /event.c
parentplease recheck this patch with Mathematica from Wolfram Research - lemme know... (diff)
downloaddwm-c31648d15d7a9bd0c7915989212d9cf0d75cdf1f.tar.gz
dwm-c31648d15d7a9bd0c7915989212d9cf0d75cdf1f.zip
restoring tip to be a working dwm again (switching FONT to terminus in config.arg.h)
Diffstat (limited to '')
-rw-r--r--event.c3
1 files changed, 1 insertions, 2 deletions
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) {
301 301
302 if(!XGetWindowAttributes(dpy, ev->window, &wa)) 302 if(!XGetWindowAttributes(dpy, ev->window, &wa))
303 return; 303 return;
304 fprintf(stderr, "does the window suck? %s\n", wa.map_state == IsViewable ? "no" : "yes"); 304 if(wa.override_redirect)
305 if(wa.override_redirect || wa.map_state != IsViewable)
306 return; 305 return;
307 if(!getclient(ev->window)) 306 if(!getclient(ev->window))
308 manage(ev->window, &wa); 307 manage(ev->window, &wa);