int i;
Imlib_Image img = NULL;
XWMHints *hints = 0;
- int32_t *data = 0;
+ long *data = 0;
int k;
for (k=0; k<TASK_STATE_COUNT; ++k) {
if (data) {
// get ARGB icon
int w, h;
- int32_t *tmp_data;
+ long *tmp_data;
tmp_data = get_best_icon (data, get_icon_count (data, i), i, &w, &h, panel->g_task.icon_size1);
}
-int get_icon_count (int32_t *data, int num)
+int get_icon_count (long *data, int num)
{
int count, pos, w, h;
}
-int32_t *get_best_icon (int32_t *data, int icon_count, int num, int *iw, int *ih, int best_icon_size)
+long *get_best_icon (long *data, int icon_count, int num, int *iw, int *ih, int best_icon_size)
{
int width[icon_count], height[icon_count], pos, i, w, h;
- int32_t *icon_data[icon_count];
+ long *icon_data[icon_count];
/* List up icons */
pos = 0;
int window_is_hidden (Window win);
int window_is_active (Window win);
int window_is_skip_taskbar (Window win);
-int get_icon_count (int32_t *data, int num);
-int32_t *get_best_icon (int32_t *data, int icon_count, int num, int *iw, int *ih, int best_icon_size);
+int get_icon_count (long *data, int num);
+long *get_best_icon (long *data, int icon_count, int num, int *iw, int *ih, int best_icon_size);
void window_maximize_restore (Window win);
void window_toggle_shade (Window win);
int window_get_desktop (Window win);