summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2012-12-17 18:35:26 +0000
committerokan <okan>2012-12-17 18:35:26 +0000
commitfe44d1dfce326c846fa199d6972ca77649176046 (patch)
tree2f916f87a64515f5d53f81e5e60a4730be911ef5 /client.c
parentaf13c081080574a036565e2fa7c761b6e6233068 (diff)
downloadcwm-fe44d1dfce326c846fa199d6972ca77649176046.tar.gz
cwm-fe44d1dfce326c846fa199d6972ca77649176046.tar.xz
cwm-fe44d1dfce326c846fa199d6972ca77649176046.zip
cmap -> colormap in client_ctx
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index cae9ba4..2bdfe28 100644
--- a/client.c
+++ b/client.c
@@ -92,7 +92,7 @@ client_new(Window win, struct screen_ctx *sc, int mapped)
 	cc->geom.y = wattr.y;
 	cc->geom.w = wattr.width;
 	cc->geom.h = wattr.height;
-	cc->cmap = wattr.colormap;
+	cc->colormap = wattr.colormap;
 
 	if (wattr.map_state != IsViewable) {
 		client_placecalc(cc);
@@ -202,7 +202,7 @@ client_setactive(struct client_ctx *cc, int fg)
 	sc = cc->sc;
 
 	if (fg) {
-		XInstallColormap(X_Dpy, cc->cmap);
+		XInstallColormap(X_Dpy, cc->colormap);
 		XSetInputFocus(X_Dpy, cc->win,
 		    RevertToPointerRoot, CurrentTime);
 		conf_grab_mouse(cc);