diff options
| author | arg@f00b4r <unknown> | 2007-07-12 19:45:28 +0200 |
|---|---|---|
| committer | arg@f00b4r <unknown> | 2007-07-12 19:45:28 +0200 |
| commit | c31648d15d7a9bd0c7915989212d9cf0d75cdf1f (patch) | |
| tree | adc6e2400530a998cf07b3fb1ff3b8b1084bf084 | |
| parent | please recheck this patch with Mathematica from Wolfram Research - lemme know... (diff) | |
| download | dwm-c31648d15d7a9bd0c7915989212d9cf0d75cdf1f.tar.gz dwm-c31648d15d7a9bd0c7915989212d9cf0d75cdf1f.zip | |
restoring tip to be a working dwm again (switching FONT to terminus in config.arg.h)
| -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); |
