*fix* only redraw task on state change, if not already drawn
git-svn-id: http://tint2.googlecode.com/svn/trunk@329 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -54,6 +54,7 @@ typedef struct {
|
||||
int desktop;
|
||||
int current_state;
|
||||
Imlib_Image icon[TASK_STATE_COUNT];
|
||||
Pixmap state_pix[TASK_STATE_COUNT];
|
||||
unsigned int icon_width;
|
||||
unsigned int icon_height;
|
||||
char *title;
|
||||
@@ -70,6 +71,7 @@ void get_icon (Task *tsk);
|
||||
void get_title(Task *tsk);
|
||||
void active_task();
|
||||
void set_task_state(Task* tsk, int state);
|
||||
void set_task_redraw(Task* tsk);
|
||||
|
||||
Task *next_task (Task *tsk);
|
||||
Task *prev_task (Task *tsk);
|
||||
|
||||
Reference in New Issue
Block a user