diff options
author | okan | 2013-01-04 16:27:58 +0000 |
---|---|---|
committer | okan | 2013-01-04 16:27:58 +0000 |
commit | 07ae0638d4f55573a2df6be9df8545793a048164 (patch) | |
tree | 3312870d57949b8f73e4d602c7d3c45a4bb6e400 /calmwm.h | |
parent | e3eafdc3aa6681e637c73cb57b2e1120e2beabe0 (diff) | |
download | cwm-07ae0638d4f55573a2df6be9df8545793a048164.tar.gz |
really these are just border colors, so adjust the define
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 10 |
1 files changed, 5 insertions, 5 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: 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]; |