aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2013-01-04 16:23:04 +0000
committerokan2013-01-04 16:23:04 +0000
commit4b1ea8b20680932c9423c6bcedf86564a41ba024 (patch)
tree3ed4a840a52a347ab361d4f8f42f12c2eca5d57c /client.c
parent1f61f7e4a9bf381aa66667f07087d1161436eae8 (diff)
downloadcwm-4b1ea8b20680932c9423c6bcedf86564a41ba024.tar.gz
get rid of struct color
Diffstat (limited to 'client.c')
-rw-r--r--client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/client.c b/client.c
index 44f9a84..d171805 100644
--- a/client.c
+++ b/client.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: client.c,v 1.113 2013/01/02 21:37:21 okan Exp $
+ * $OpenBSD: client.c,v 1.114 2013/01/04 16:23:04 okan Exp $
*/
#include <sys/param.h>
@@ -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);