diff options
author | okan | 2013-05-07 01:35:41 +0000 |
---|---|---|
committer | okan | 2013-05-07 01:35:41 +0000 |
commit | a50506d56ef1049b99eade7f69a1acb61ea192d1 (patch) | |
tree | 4b8854c1c3d4646f0a0c4fa1271881331b7cbac6 | |
parent | c8bce629dc68f1e1315cceadd4a6d8d45cbadec1 (diff) | |
download | cwm-a50506d56ef1049b99eade7f69a1acb61ea192d1.tar.gz |
border width/color makes sense for some, so put it back
-rw-r--r-- | menu.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 <sys/param.h> @@ -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); } |