diff options
| -rw-r--r-- | config.arg.h | 2 | ||||
| -rw-r--r-- | event.c | 3 |
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 @@ | |||
| 3 | /* appearance */ | 3 | /* appearance */ |
| 4 | #define BARPOS BarTop /* BarBot, BarOff */ | 4 | #define BARPOS BarTop /* BarBot, BarOff */ |
| 5 | #define BORDERPX 1 | 5 | #define BORDERPX 1 |
| 6 | #define FONT "-*-pixelcarnage monospace-*-r-*-*-14-*-*-*-*-*-*-*" | 6 | #define FONT "-*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-*" |
| 7 | #define NORMBORDERCOLOR "#333" | 7 | #define NORMBORDERCOLOR "#333" |
| 8 | #define NORMBGCOLOR "#222" | 8 | #define NORMBGCOLOR "#222" |
| 9 | #define NORMFGCOLOR "#ccc" | 9 | #define NORMFGCOLOR "#ccc" |
| @@ -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); |
