aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorokan2013-05-07 01:35:41 +0000
committerokan2013-05-07 01:35:41 +0000
commita50506d56ef1049b99eade7f69a1acb61ea192d1 (patch)
tree4b8854c1c3d4646f0a0c4fa1271881331b7cbac6 /menu.c
parentc8bce629dc68f1e1315cceadd4a6d8d45cbadec1 (diff)
downloadcwm-a50506d56ef1049b99eade7f69a1acb61ea192d1.tar.gz
border width/color makes sense for some, so put it back
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index fffea01..fd531c3 100644
--- a/menu.c
+++ b/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 <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);
}