From 384bb6c50118135cd321451672f9a05a8c7b08ed Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 7 May 2013 01:35:41 +0000 Subject: [PATCH] border width/color makes sense for some, so put it back --- app/cwm/menu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/cwm/menu.c b/app/cwm/menu.c index fffea016f..fd531c382 100644 --- a/app/cwm/menu.c +++ b/app/cwm/menu.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: menu.c,v 1.58 2013/05/06 16:00:34 okan Exp $ + * $OpenBSD: menu.c,v 1.59 2013/05/07 01:35:41 okan Exp $ */ #include @@ -81,7 +81,9 @@ static int menu_keycode(XKeyEvent *, enum ctltype *, void menu_init(struct screen_ctx *sc) { - sc->menuwin = XCreateSimpleWindow(X_Dpy, sc->rootwin, 0, 0, 1, 1, 0, 0, + sc->menuwin = XCreateSimpleWindow(X_Dpy, sc->rootwin, 0, 0, 1, 1, + Conf.bwidth, + sc->xftcolor[CWM_COLOR_MENU_FG].pixel, sc->xftcolor[CWM_COLOR_MENU_BG].pixel); }