X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Ftaskbar%2Ftask.c;h=98c943aa0ddcdc6f13f606dcaea4f364acc8c2c1;hb=cbb9b4d7de7e4a439dd586a8c8d4cd5f4e4622ba;hp=191394ca30da5f4635d27fc38d61b4cb82641f96;hpb=f4a5dbba35cc7ae5540481ce29bc272fd0d0a03d;p=chaz%2Ftint2 diff --git a/src/taskbar/task.c b/src/taskbar/task.c index 191394c..98c943a 100644 --- a/src/taskbar/task.c +++ b/src/taskbar/task.c @@ -313,8 +313,13 @@ void draw_task_icon (Task *tsk, int text_width, int active) imlib_context_set_image (tsk->icon_active); pmap = &tsk->area.pix_active.pmap; } - imlib_context_set_drawable (*pmap); - imlib_render_image_on_drawable (pos_x, panel->g_task.icon_posy); + if (real_transparency) { + render_image(*pmap, pos_x, panel->g_task.icon_posy, imlib_image_get_width(), imlib_image_get_height() ); + } + else { + imlib_context_set_drawable (*pmap); + imlib_render_image_on_drawable (pos_x, panel->g_task.icon_posy); + } }