From a18c1697b1176c26e74267f2ac7a153a2cf2c442 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 18 May 2003 23:06:11 +0000 Subject: make icons use pixel32 data, and image_draw takes pixel32 data. client.c gets pixmap icons as a backup to netwm ones, and they are converted into pixel32 data. --- openbox/client.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbox/client.h') diff --git a/openbox/client.h b/openbox/client.h index 7545b860..b4e0494d 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -3,6 +3,8 @@ #include "geom.h" #include "stacking.h" +#include "render/color.h" + #include #include @@ -16,7 +18,7 @@ struct Group; /*! Holds an icon in ARGB format */ typedef struct Icon { int width, height; - gulong *data; + pixel32 *data; } Icon; /*! The MWM Hints as retrieved from the window property -- cgit v1.2.3