aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan2019-03-04 19:28:17 +0000
committerokan2019-03-04 19:28:17 +0000
commitf9cc6bc28fcaadc3f0eea32de200c98ed65671e4 (patch)
tree3b59621a6066197982d20408c605078bb092a1d2 /calmwm.c
parent630b170b88810b2ccb695b6f715b9a415525c926 (diff)
downloadcwm-f9cc6bc28fcaadc3f0eea32de200c98ed65671e4.tar.gz
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 'calmwm.c')
-rw-r--r--calmwm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/calmwm.c b/calmwm.c
index 1c3c2c0..447ee24 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.110 2019/02/25 18:07:48 okan Exp $
+ * $OpenBSD: calmwm.c,v 1.111 2019/03/04 19:28:17 okan Exp $
*/
#include <sys/types.h>
@@ -165,8 +165,6 @@ x_teardown(void)
DefaultColormap(X_Dpy, sc->which),
&sc->xftcolor[i]);
XftFontClose(X_Dpy, sc->xftfont);
- XftDrawDestroy(sc->menu.xftdraw);
- XDestroyWindow(X_Dpy, sc->menu.win);
XUngrabKey(X_Dpy, AnyKey, AnyModifier, sc->rootwin);
}
XUngrabPointer(X_Dpy, CurrentTime);