aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2016-09-29 00:30:40 +0000
committerokan2016-09-29 00:30:40 +0000
commita9e18c1f32ccd0a8449c00d663eadbce485f8b88 (patch)
tree8d5ef68bb551f8f4d9ad1aea26b651f43f051548
parent0f86dbbd38ab71c45557b98c63a1c0952b2cfda1 (diff)
downloadcwm-a9e18c1f32ccd0a8449c00d663eadbce485f8b88.tar.gz
no need to unmap menu window again
Diffstat (limited to '')
-rw-r--r--calmwm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/calmwm.c b/calmwm.c
index ecf4843..1b4a6f0 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.c,v 1.97 2016/09/29 00:21:55 okan Exp $
+ * $OpenBSD: calmwm.c,v 1.98 2016/09/29 00:30:40 okan Exp $
*/
#include <sys/types.h>
@@ -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);
}