mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
no need to unmap menu window again
This commit is contained in:
parent
0e8c706633
commit
24d6348e52
3
calmwm.c
3
calmwm.c
@ -161,9 +161,8 @@ x_teardown(void)
|
|||||||
XftColorFree(X_Dpy, DefaultVisual(X_Dpy, sc->which),
|
XftColorFree(X_Dpy, DefaultVisual(X_Dpy, sc->which),
|
||||||
DefaultColormap(X_Dpy, sc->which),
|
DefaultColormap(X_Dpy, sc->which),
|
||||||
&sc->xftcolor[i]);
|
&sc->xftcolor[i]);
|
||||||
XftDrawDestroy(sc->menu.xftdraw);
|
|
||||||
XftFontClose(X_Dpy, sc->xftfont);
|
XftFontClose(X_Dpy, sc->xftfont);
|
||||||
XUnmapWindow(X_Dpy, sc->menu.win);
|
XftDrawDestroy(sc->menu.xftdraw);
|
||||||
XDestroyWindow(X_Dpy, sc->menu.win);
|
XDestroyWindow(X_Dpy, sc->menu.win);
|
||||||
XUngrabKey(X_Dpy, AnyKey, AnyModifier, sc->rootwin);
|
XUngrabKey(X_Dpy, AnyKey, AnyModifier, sc->rootwin);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user