summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2013-01-04 16:23:04 +0000
committerokan <okan>2013-01-04 16:23:04 +0000
commit698530155d0e76265fa85c24159d58eaaea9ef31 (patch)
tree78534e8ed354c052508a4c58c2b62405daa5b353 /client.c
parentc139df129c45eab966836e622c71deec821ba370 (diff)
downloadcwm-698530155d0e76265fa85c24159d58eaaea9ef31.tar.gz
cwm-698530155d0e76265fa85c24159d58eaaea9ef31.tar.xz
cwm-698530155d0e76265fa85c24159d58eaaea9ef31.zip
get rid of struct color
Diffstat (limited to 'client.c')
-rw-r--r--client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/client.c b/client.c
index c76c1f4..b61b7ef 100644
--- a/client.c
+++ b/client.c
@@ -475,17 +475,17 @@ client_draw_border(struct client_ctx *cc)
 	if (cc->active)
 		switch (cc->flags & CLIENT_HIGHLIGHT) {
 		case CLIENT_GROUP:
-			pixel = sc->color[CWM_COLOR_BORDER_GROUP].pixel;
+			pixel = sc->color[CWM_COLOR_BORDER_GROUP];
 			break;
 		case CLIENT_UNGROUP:
-			pixel = sc->color[CWM_COLOR_BORDER_UNGROUP].pixel;
+			pixel = sc->color[CWM_COLOR_BORDER_UNGROUP];
 			break;
 		default:
-			pixel = sc->color[CWM_COLOR_BORDER_ACTIVE].pixel;
+			pixel = sc->color[CWM_COLOR_BORDER_ACTIVE];
 			break;
 		}
 	else
-		pixel = sc->color[CWM_COLOR_BORDER_INACTIVE].pixel;
+		pixel = sc->color[CWM_COLOR_BORDER_INACTIVE];
 
 	XSetWindowBorderWidth(X_Dpy, cc->win, cc->bwidth);
 	XSetWindowBorder(X_Dpy, cc->win, pixel);