aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan2016-09-29 00:21:55 +0000
committerokan2016-09-29 00:21:55 +0000
commit0f86dbbd38ab71c45557b98c63a1c0952b2cfda1 (patch)
treee079fb602ba41fa9c3ade6d09b4c6bc282153b43 /calmwm.c
parent5f5374eb8ec00ff4d793c6a037f20dd2a1a91cd8 (diff)
downloadcwm-0f86dbbd38ab71c45557b98c63a1c0952b2cfda1.tar.gz
Mechanical change: move screen menu bits to their own struct.
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calmwm.c b/calmwm.c
index 1c315f0..ecf4843 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.96 2015/11/12 17:56:54 okan Exp $
+ * $OpenBSD: calmwm.c,v 1.97 2016/09/29 00:21:55 okan Exp $
*/
#include <sys/types.h>
@@ -161,10 +161,10 @@ x_teardown(void)
XftColorFree(X_Dpy, DefaultVisual(X_Dpy, sc->which),
DefaultColormap(X_Dpy, sc->which),
&sc->xftcolor[i]);
- XftDrawDestroy(sc->xftdraw);
+ XftDrawDestroy(sc->menu.xftdraw);
XftFontClose(X_Dpy, sc->xftfont);
- XUnmapWindow(X_Dpy, sc->menuwin);
- XDestroyWindow(X_Dpy, sc->menuwin);
+ XUnmapWindow(X_Dpy, sc->menu.win);
+ XDestroyWindow(X_Dpy, sc->menu.win);
XUngrabKey(X_Dpy, AnyKey, AnyModifier, sc->rootwin);
}
XUngrabPointer(X_Dpy, CurrentTime);