diff options
author | okan <okan> | 2016-09-29 00:30:40 +0000 |
---|---|---|
committer | okan <okan> | 2016-09-29 00:30:40 +0000 |
commit | 24d6348e52c0732e1c2564eceeae8159a47d9bb7 (patch) | |
tree | cbd821684303e53e7fd65f0ce1eabf1e8d7b4ff1 | |
parent | 0e8c7066333ffd331743658e82cfedaf3e0078a2 (diff) | |
download | cwm-24d6348e52c0732e1c2564eceeae8159a47d9bb7.tar.gz cwm-24d6348e52c0732e1c2564eceeae8159a47d9bb7.tar.xz cwm-24d6348e52c0732e1c2564eceeae8159a47d9bb7.zip |
no need to unmap menu window again
-rw-r--r-- | calmwm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/calmwm.c b/calmwm.c index afb5e6d..a6c5bc4 100644 --- a/calmwm.c +++ b/calmwm.c @@ -161,9 +161,8 @@ x_teardown(void) XftColorFree(X_Dpy, DefaultVisual(X_Dpy, sc->which), DefaultColormap(X_Dpy, sc->which), &sc->xftcolor[i]); - XftDrawDestroy(sc->menu.xftdraw); XftFontClose(X_Dpy, sc->xftfont); - XUnmapWindow(X_Dpy, sc->menu.win); + XftDrawDestroy(sc->menu.xftdraw); XDestroyWindow(X_Dpy, sc->menu.win); XUngrabKey(X_Dpy, AnyKey, AnyModifier, sc->rootwin); } |