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:
lorthiois@bbsoft.fr
2009-01-17 14:07:56 +00:00
parent e2e134b302
commit 0ecea24ee6
12 changed files with 356 additions and 373 deletions

View File

@@ -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);