diff options
author | okan | 2013-01-04 16:23:04 +0000 |
---|---|---|
committer | okan | 2013-01-04 16:23:04 +0000 |
commit | 4b1ea8b20680932c9423c6bcedf86564a41ba024 (patch) | |
tree | 3ed4a840a52a347ab361d4f8f42f12c2eca5d57c /calmwm.h | |
parent | 1f61f7e4a9bf381aa66667f07087d1161436eae8 (diff) | |
download | cwm-4b1ea8b20680932c9423c6bcedf86564a41ba024.tar.gz |
get rid of struct color
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 11 |
1 files changed, 3 insertions, 8 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.182 2013/01/02 16:26:34 okan Exp $ + * $OpenBSD: calmwm.h,v 1.183 2013/01/04 16:23:04 okan Exp $ */ #ifndef _CALMWM_H_ @@ -97,11 +97,6 @@ enum cwmcolor { CWM_COLOR_MAX }; -struct color { - char *name; - unsigned long pixel; -}; - struct geom { int x; int y; @@ -211,7 +206,7 @@ struct screen_ctx { Colormap colormap; Window rootwin; Window menuwin; - struct color color[CWM_COLOR_MAX]; + unsigned long color[CWM_COLOR_MAX]; int cycling; struct geom view; /* viewable area */ struct geom work; /* workable area, gap-applied */ @@ -291,7 +286,7 @@ struct conf { #define CONF_SNAPDIST 0 int snapdist; struct gap gap; - struct color color[CWM_COLOR_MAX]; + char *color[CWM_COLOR_MAX]; char *menucolor[CWM_COLOR_MENU_MAX]; char termpath[MAXPATHLEN]; char lockpath[MAXPATHLEN]; |