diff options
Diffstat (limited to '')
-rw-r--r-- | screen.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -265,13 +265,13 @@ screen_assert_clients_within(struct screen_ctx *sc) } void -screen_prop_win_create(struct screen_ctx *sc, Window win) +screen_prop_win_create(struct screen_ctx *sc, struct client_ctx *cc) { - sc->prop.win = XCreateSimpleWindow(X_Dpy, win, 0, 0, 1, 1, 0, - sc->xftcolor[CWM_COLOR_MENU_BG].pixel, - sc->xftcolor[CWM_COLOR_MENU_BG].pixel); + sc->prop.win = XCreateSimpleWindow(X_Dpy, cc->win, 0, 0, 1, 1, Conf.bwidth, + cc->xftcolor[CWM_COLOR_MENU_FG].pixel, + cc->xftcolor[CWM_COLOR_MENU_BG].pixel); sc->prop.xftdraw = XftDrawCreate(X_Dpy, sc->prop.win, - sc->visual, sc->colormap); + cc->visual, cc->colormap); XMapWindow(X_Dpy, sc->prop.win); } |