summary refs log tree commit diff
path: root/menu.c
diff options
context:
space:
mode:
authorokan <okan>2011-07-25 15:41:05 +0000
committerokan <okan>2011-07-25 15:41:05 +0000
commit30dbdf4178a2b9e07debb36b85aa3dd9f73cdcc3 (patch)
tree8fba5732afb3563abd39cf7568f490f8e23b0b56 /menu.c
parentf51f3cb9c2b39f728f2708d7ab798ecaf1cebaf0 (diff)
downloadcwm-30dbdf4178a2b9e07debb36b85aa3dd9f73cdcc3.tar.gz
cwm-30dbdf4178a2b9e07debb36b85aa3dd9f73cdcc3.tar.xz
cwm-30dbdf4178a2b9e07debb36b85aa3dd9f73cdcc3.zip
use the menu border; from Alexander Polakov, but with the existing define.
ok oga@
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 308358f..072da10 100644
--- a/menu.c
+++ b/menu.c
@@ -76,8 +76,9 @@ menu_init(struct screen_ctx *sc)
 {
 	XGCValues	 gv;
 
-	sc->menuwin = XCreateSimpleWindow(X_Dpy, sc->rootwin, 0, 0, 1, 1, 0,
-	    sc->color[CWM_COLOR_BG_MENU].pixel,
+	sc->menuwin = XCreateSimpleWindow(X_Dpy, sc->rootwin, 0, 0, 1, 1,
+	    Conf.bwidth,
+	    sc->color[CWM_COLOR_FG_MENU].pixel,
 	    sc->color[CWM_COLOR_BG_MENU].pixel);
 
 	gv.foreground =