From 07ae0638d4f55573a2df6be9df8545793a048164 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 4 Jan 2013 16:27:58 +0000 Subject: really these are just border colors, so adjust the define --- calmwm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 3ea6169..1897351 100644 --- a/calmwm.h +++ b/calmwm.h @@ -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.h,v 1.183 2013/01/04 16:23:04 okan Exp $ + * $OpenBSD: calmwm.h,v 1.184 2013/01/04 16:27:58 okan Exp $ */ #ifndef _CALMWM_H_ @@ -89,12 +89,12 @@ enum menucolor { CWM_COLOR_MENU_MAX }; -enum cwmcolor { +enum bordercolor { CWM_COLOR_BORDER_ACTIVE, CWM_COLOR_BORDER_INACTIVE, CWM_COLOR_BORDER_GROUP, CWM_COLOR_BORDER_UNGROUP, - CWM_COLOR_MAX + CWM_COLOR_BORDER_MAX }; struct geom { @@ -206,7 +206,7 @@ struct screen_ctx { Colormap colormap; Window rootwin; Window menuwin; - unsigned long color[CWM_COLOR_MAX]; + unsigned long color[CWM_COLOR_BORDER_MAX]; int cycling; struct geom view; /* viewable area */ struct geom work; /* workable area, gap-applied */ @@ -286,7 +286,7 @@ struct conf { #define CONF_SNAPDIST 0 int snapdist; struct gap gap; - char *color[CWM_COLOR_MAX]; + char *color[CWM_COLOR_BORDER_MAX]; char *menucolor[CWM_COLOR_MENU_MAX]; char termpath[MAXPATHLEN]; char lockpath[MAXPATHLEN]; -- cgit v1.2.3-2-gb3c3