all repos — tint2 @ 34b341767c989a9c5e7fead8d4655b666d2e8aaf

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Task: disable pixmap caching (temporary change until we make it work with mouse effects)
o9000 mrovi9000@gmail.com
commit

34b341767c989a9c5e7fead8d4655b666d2e8aaf

parent

070eb7ba4d2b615af42c9a51cae3fbc1721d218d

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/taskbar/task.csrc/taskbar/task.c

@@ -356,7 +356,7 @@

void draw_task (void *obj, cairo_t *c) { Task *tsk = obj; - tsk->state_pix[tsk->current_state] = tsk->area.pix; + //tsk->state_pix[tsk->current_state] = tsk->area.pix; PangoLayout *layout; Color *config_text; int width=0, height;

@@ -515,8 +515,8 @@ for (i=0; i<task_group->len; ++i) {

Task* tsk1 = g_ptr_array_index(task_group, i); tsk1->current_state = state; tsk1->area.bg = panel1[0].g_task.background[state]; - tsk1->area.pix = tsk1->state_pix[state]; - if (tsk1->state_pix[state] == 0) + //tsk1->area.pix = tsk1->state_pix[state]; + if (!tsk1->area.pix) tsk1->area.redraw = 1; if (state == TASK_ACTIVE && g_slist_find(urgent_list, tsk1)) del_urgent(tsk1);