fixed bug with active task
git-svn-id: http://tint2.googlecode.com/svn/trunk@24 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/**************************************************************************
|
||||
* task :
|
||||
* -
|
||||
* task :
|
||||
* -
|
||||
*
|
||||
**************************************************************************/
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
// global task parameter
|
||||
typedef struct {
|
||||
Area area;
|
||||
Area area_active;
|
||||
Area area_inactive;
|
||||
|
||||
|
||||
int text;
|
||||
int icon;
|
||||
int icon_size1;
|
||||
@@ -41,8 +39,6 @@ typedef struct {
|
||||
typedef struct {
|
||||
// always start with area
|
||||
Area area;
|
||||
Area area_active;
|
||||
Area area_inactive;
|
||||
|
||||
// TODO: group task with list of windows here
|
||||
Window win;
|
||||
@@ -59,7 +55,7 @@ Global_task g_task;
|
||||
void add_task (Window win);
|
||||
void remove_task (Task *tsk);
|
||||
|
||||
void draw_foreground_task (void *obj, cairo_t *c);
|
||||
void draw_foreground_task (void *obj, cairo_t *c, int active);
|
||||
|
||||
void get_icon (Task *tsk);
|
||||
void get_title(Task *tsk);
|
||||
|
||||
Reference in New Issue
Block a user