no need to unmap menu window again
This commit is contained in:
parent
1b369f6063
commit
035ba40ddc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user