fixed Issue 282 : third try
git-svn-id: http://tint2.googlecode.com/svn/trunk@528 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -218,7 +218,7 @@ int window_is_active (Window win)
|
||||
}
|
||||
|
||||
|
||||
int get_icon_count (long *data, int num)
|
||||
int get_icon_count (int32_t *data, int num)
|
||||
{
|
||||
int count, pos, w, h;
|
||||
|
||||
@@ -236,10 +236,10 @@ 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)
|
||||
int32_t *get_best_icon (int32_t *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;
|
||||
long *icon_data[icon_count];
|
||||
int32_t *icon_data[icon_count];
|
||||
|
||||
/* List up icons */
|
||||
pos = 0;
|
||||
|
||||
@@ -22,8 +22,8 @@ int window_is_urgent (Window win);
|
||||
int window_is_hidden (Window win);
|
||||
int window_is_active (Window win);
|
||||
int window_is_skip_taskbar (Window win);
|
||||
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);
|
||||
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);
|
||||
void window_maximize_restore (Window win);
|
||||
void window_toggle_shade (Window win);
|
||||
int window_get_desktop (Window win);
|
||||
|
||||
Reference in New Issue
Block a user