summaryrefslogtreecommitdiff
path: root/dwm/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm/dwm.c')
-rw-r--r--dwm/dwm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dwm/dwm.c b/dwm/dwm.c
index 21f352e..a48eb7d 100644
--- a/dwm/dwm.c
+++ b/dwm/dwm.c
@@ -280,6 +280,9 @@ static Window root, wmcheckwin;
/* configuration, allows nested code to access above variables */
#include "config.h"
+#ifndef BAROPACITY
+#define BAROPACITY 1.0
+#endif
static unsigned int scratchtag = 1 << LENGTH(tags);
@@ -1959,7 +1962,7 @@ updatebars(void)
CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa);
XDefineCursor(dpy, m->barwin, cursor[CurNormal]->cursor);
XMapRaised(dpy, m->barwin);
- setopacity(m->barwin, baropacity);
+ setopacity(m->barwin, BAROPACITY);
XSetClassHint(dpy, m->barwin, &ch);
}
}