X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Ftaskbar%2Ftask.h;h=3de591b62ca5858286c0e7bf6ea8dac80199b850;hb=d61621cf9c59bf88d79e91b4b12f562db097765b;hp=d519de1c23126d5f14cc63f606971fd614df7694;hpb=f8bebb561d52fa25b320904bb0c6a08347d05611;p=chaz%2Ftint2 diff --git a/src/taskbar/task.h b/src/taskbar/task.h index d519de1..3de591b 100644 --- a/src/taskbar/task.h +++ b/src/taskbar/task.h @@ -38,7 +38,7 @@ typedef struct { Background* background[TASK_STATE_COUNT]; int config_background_mask; // starting position for text ~ task_padding + task_border + icon_size - double text_posx, text_posy; + double text_posx, text_height; int font_shadow; PangoFontDescription *font_desc; @@ -69,6 +69,7 @@ Task *add_task (Window win); void remove_task (Task *tsk); void draw_task (void *obj, cairo_t *c); +void on_change_task (void *obj); void get_icon (Task *tsk); void get_title(Task *tsk);