From 30dbdf4178a2b9e07debb36b85aa3dd9f73cdcc3 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 25 Jul 2011 15:41:05 +0000 Subject: use the menu border; from Alexander Polakov, but with the existing define. ok oga@ --- menu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'menu.c') 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 = -- cgit 1.4.1