#include "tooltip.h"
#include "timer.h"
-static timeout* urgent_timeout = 0;
-static GSList* urgent_list = 0;
+timeout* urgent_timeout;
+GSList* urgent_list;
const char* task_get_tooltip(void* obj)
{
// even with task_on_all_desktop and with task_on_all_panel
new_tsk.title = 0;
int k;
- for (k=0; k<TASK_STATE_COUNT; ++k)
+ for (k=0; k<TASK_STATE_COUNT; ++k) {
new_tsk.icon[k] = 0;
+ new_tsk.state_pix[k] = 0;
+ }
get_title(&new_tsk);
get_icon(&new_tsk);
// Render
imlib_context_set_image (tsk->icon[tsk->current_state]);
- if (real_transparency) {
+ if (server.real_transparency) {
render_image(tsk->area.pix, pos_x, panel->g_task.icon_posy, imlib_image_get_width(), imlib_image_get_height() );
}
else {