pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51a94a2
)
please recheck this patch with Mathematica from Wolfram Research - lemme know if...
author
Anselm R. Garbe
<arg@suckless.org>
Tue, 19 Jun 2007 07:08:15 +0000
(09:08 +0200)
committer
Anselm R. Garbe
<arg@suckless.org>
Tue, 19 Jun 2007 07:08:15 +0000
(09:08 +0200)
event.c
patch
|
blob
|
history
diff --git
a/event.c
b/event.c
index
ad4e271
..
9897640
100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-301,7
+301,8
@@
maprequest(XEvent *e) {
if(!XGetWindowAttributes(dpy, ev->window, &wa))
return;
- if(wa.override_redirect)
+ fprintf(stderr, "does the window suck? %s\n", wa.map_state == IsViewable ? "no" : "yes");
+ if(wa.override_redirect || wa.map_state != IsViewable)
return;
if(!getclient(ev->window))
manage(ev->window, &wa);