restoring tip to be a working dwm again (switching FONT to terminus in config.arg.h)
This commit is contained in:
parent
52250e7c1e
commit
c31648d15d
@ -3,7 +3,7 @@
|
|||||||
/* appearance */
|
/* appearance */
|
||||||
#define BARPOS BarTop /* BarBot, BarOff */
|
#define BARPOS BarTop /* BarBot, BarOff */
|
||||||
#define BORDERPX 1
|
#define BORDERPX 1
|
||||||
#define FONT "-*-pixelcarnage monospace-*-r-*-*-14-*-*-*-*-*-*-*"
|
#define FONT "-*-terminus-medium-r-*-*-14-*-*-*-*-*-iso10646-*"
|
||||||
#define NORMBORDERCOLOR "#333"
|
#define NORMBORDERCOLOR "#333"
|
||||||
#define NORMBGCOLOR "#222"
|
#define NORMBGCOLOR "#222"
|
||||||
#define NORMFGCOLOR "#ccc"
|
#define NORMFGCOLOR "#ccc"
|
||||||
|
3
event.c
3
event.c
@ -301,8 +301,7 @@ maprequest(XEvent *e) {
|
|||||||
|
|
||||||
if(!XGetWindowAttributes(dpy, ev->window, &wa))
|
if(!XGetWindowAttributes(dpy, ev->window, &wa))
|
||||||
return;
|
return;
|
||||||
fprintf(stderr, "does the window suck? %s\n", wa.map_state == IsViewable ? "no" : "yes");
|
if(wa.override_redirect)
|
||||||
if(wa.override_redirect || wa.map_state != IsViewable)
|
|
||||||
return;
|
return;
|
||||||
if(!getclient(ev->window))
|
if(!getclient(ev->window))
|
||||||
manage(ev->window, &wa);
|
manage(ev->window, &wa);
|
||||||
|
Loading…
Reference in New Issue
Block a user