diff options
author | okan <okan> | 2019-03-04 19:28:17 +0000 |
---|---|---|
committer | okan <okan> | 2019-03-04 19:28:17 +0000 |
commit | 0bda8f76067b737f34c11ef094b349c0c12fe118 (patch) | |
tree | 81fd0a0d76d553fa1635dcdf16a3c30338c45475 /conf.c | |
parent | 9d5b0e5d22fca1b6fb37a8df906bdad0317238c9 (diff) | |
download | cwm-0bda8f76067b737f34c11ef094b349c0c12fe118.tar.gz cwm-0bda8f76067b737f34c11ef094b349c0c12fe118.tar.xz cwm-0bda8f76067b737f34c11ef094b349c0c12fe118.zip |
Separate out the menu window from the client resize/move geom window; in each
case, create and destroy on-demand. Isolate more menu specific code.
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/conf.c b/conf.c index d600728..30c803e 100644 --- a/conf.c +++ b/conf.c @@ -501,16 +501,6 @@ conf_screen(struct screen_ctx *sc) } } - sc->menu.win = 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); - - sc->menu.xftdraw = XftDrawCreate(X_Dpy, sc->menu.win, - sc->visual, sc->colormap); - if (sc->menu.xftdraw == NULL) - errx(1, "%s: XftDrawCreate", __func__); - conf_grab_kbd(sc->rootwin); } |