summaryrefslogtreecommitdiff
path: root/app/cwm
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2011-07-25 15:41:06 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2011-07-25 15:41:06 +0000
commitfeb0cd25fe3300ee12c39b9139f17d57f4e682cc (patch)
tree3153b27e2bbfbb93c23502b24772688a76833334 /app/cwm
parenta56f38b477f41c0cd07172690e68a3fae13ba1b1 (diff)
use the menu border; from Alexander Polakov, but with the existing define.
ok oga@
Diffstat (limited to 'app/cwm')
-rw-r--r--app/cwm/menu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/cwm/menu.c b/app/cwm/menu.c
index d9b1e68a4..27f628cb6 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.31 2011/07/25 15:10:24 okan Exp $
+ * $OpenBSD: menu.c,v 1.32 2011/07/25 15:41:05 okan Exp $
*/
#include <sys/param.h>
@@ -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 =