diff --git a/src/wmfs.h b/src/wmfs.h index b58c1fa..52c4959 100644 --- a/src/wmfs.h +++ b/src/wmfs.h @@ -74,7 +74,7 @@ #define MAXH DisplayHeight(dpy, DefaultScreen(dpy)) #define MAXW DisplayWidth(dpy, DefaultScreen(dpy)) #define ATOM(a) XInternAtom(dpy, (a), False) -#define INFOBARH ((conf.bars.height != -1) ? conf.bars.height : (font->height * 1.5)) +#define INFOBARH ((conf.bars.height > 0) ? conf.bars.height : (font->height * 1.5)) #define FHINFOBAR ((font->height - font->descent) + (INFOBARH - font->height) / 2) #define SHADH 1 #define SHADC 0x000000 /* 'Cause i don't know how darken a color yet */