diff options
author | okan | 2012-12-17 18:35:26 +0000 |
---|---|---|
committer | okan | 2012-12-17 18:35:26 +0000 |
commit | 068d256bb7f3ff3381885ac9668d70d69271ac37 (patch) | |
tree | 84b4f7b7142afb2cfce10b7f0f7c4c9de7eea139 /client.c | |
parent | 6ff3931470534f22415baa05817ae1bc8aa22d6c (diff) | |
download | cwm-068d256bb7f3ff3381885ac9668d70d69271ac37.tar.gz |
cmap -> colormap in client_ctx
Diffstat (limited to '')
-rw-r--r-- | client.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: client.c,v 1.106 2012/12/17 17:48:57 okan Exp $ + * $OpenBSD: client.c,v 1.107 2012/12/17 18:35:26 okan Exp $ */ #include <sys/param.h> @@ -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); |