summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-18 23:06:11 +0000
committerDana Jansens <danakj@orodu.net>2003-05-18 23:06:11 +0000
commita18c1697b1176c26e74267f2ac7a153a2cf2c442 (patch)
tree04d62a0bd4d4f15fe2bbf05e8809755c552753ac /openbox/client.h
parentf41d06f583b0461446aeac93551a2e0931d50ac0 (diff)
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.
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h4
1 files changed, 3 insertions, 1 deletions
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 <glib.h>
#include <X11/Xlib.h>
@@ -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