From 1ef906db6652330521262656e65873ad697341d4 Mon Sep 17 00:00:00 2001 From: Thierry Lorthiois Date: Wed, 11 Feb 2009 22:25:53 +0000 Subject: [PATCH] fixed issue 14 : no icons --- ChangeLog | 3 +++ src/taskbar/task.c | 34 ++++++++++++++++++++++++++++------ src/tint2 | Bin 55640 -> 55664 bytes src/util/area.h | 13 +------------ 4 files changed, 32 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1a94a50..097d718 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2009-02-12 +- fixed issue 14 : no icons + 2009-02-11 - fixed bug with number of desktop changed - fixed clock resize when date changed diff --git a/src/taskbar/task.c b/src/taskbar/task.c index 2ec873f..2c039ab 100644 --- a/src/taskbar/task.c +++ b/src/taskbar/task.c @@ -79,6 +79,7 @@ void add_task (Window win) tskbar->area.list = g_slist_append(tskbar->area.list, new_tsk2); //printf("add_task panel %d, desktop %d, task %s\n", i, j, new_tsk2->title); + // set_resize (&tskbar->area); if (resize_tasks (tskbar)) set_redraw (&tskbar->area); } @@ -116,7 +117,7 @@ void remove_task (Task *tsk) l0 = l0->next; if (win == tsk2->win) { tskbar->area.list = g_slist_remove(tskbar->area.list, tsk2); - resize_tasks (tskbar); + set_resize (&tskbar->area); set_redraw (&tskbar->area); if (tsk2 == task_active) @@ -183,8 +184,7 @@ void get_icon (Task *tsk) int num; data = server_get_property (tsk->win, server.atom._NET_WM_ICON, XA_CARDINAL, &num); if (data) { - //printf("get_icon plein\n"); - // ARGB + // get ARGB icon int w, h; long *tmp_data; tmp_data = get_best_icon (data, get_icon_count (data, num), num, &w, &h, panel->g_task.icon_size1); @@ -197,13 +197,35 @@ void get_icon (Task *tsk) XFree (data); } else { - //printf("get_icon vide\n"); + // get Pixmap icon XWMHints *hints = XGetWMHints(server.dsp, tsk->win); if (hints) { - if (hints->flags & IconPixmapHint) { + if (hints->flags & IconPixmapHint && hints->icon_pixmap != 0) { + // get width, height and depth for the pixmap + Window root; + int icon_x, icon_y; + uint border_width, bpp; + uint icon_width, icon_height; + + XGetGeometry(server.dsp, hints->icon_pixmap, &root, &icon_x, &icon_y, &icon_width, &icon_height, &border_width, &bpp); + + //printf(" get_pixmap\n"); + Imlib_Image img; + imlib_context_set_drawable(hints->icon_pixmap); + img = imlib_create_image_from_drawable(hints->icon_mask, 0, 0, icon_width, icon_height, 0); + imlib_context_set_image(img); + unsigned int *data = imlib_image_get_data(); + if (!data) { + return; + } + tsk->icon_width = imlib_image_get_width(); + tsk->icon_height = imlib_image_get_height(); + tsk->icon_data = malloc (tsk->icon_width * tsk->icon_height * sizeof (long)); + memcpy (tsk->icon_data, data, tsk->icon_width * tsk->icon_height * sizeof (long)); + imlib_free_image(); } XFree(hints); - } + } } } diff --git a/src/tint2 b/src/tint2 index 91ceff45118cd99719456736918be3151c88fa91..c3248d4e9dc73f112f431bee8d150dca8356a84e 100755 GIT binary patch delta 13924 zcmZ`=2V7Lg_TGD4mIaX}hN7^5*b%UIX<~~K8&-;_D8vT3*kw_QSyzmDu=j2(SkS2N z`2@w-V@YDfSb~YkyCi6g(Nv%OzjOC4E}Q)K_xpBc&U|y`%$a&;@0K5{^ZZzy6*3Xu+$1j6RPARrHD z40H!#fTcidU<@!4=m9JM8Ud4mcY#F!e1VxTL~5b&mRb#xTwrKWYB&UCAe zb3HAjmQP*I6`bgCo#<6w>QTNHIl@*-+|Nqpti+ojtOs~0=^!NxP(n-4Q;7tlnubC* ze0vJLI6l=MIh}z1fCu0TSU&G55kU#tDB);?1A%710Kf;B1XwG5 z%dsvCmjcV_6T5b9v7D!Tco^lg&gXq2^X@+sL{FUcqk|z=KVpZHM+n% zYKzP~2+vq`Dzipw=}%2;TW6cXp*A$KNqafaJbS-!du_zA7GFU#Yu{{R`wX5p%7^o} z+mx?w!*At4f7*u#?$ko7bMI=Syq$)=a`FqfW}{QEY03s#uMHO_&^>Lao54nZ0C_uv zl2p&tZKsWv+ce4{R5(FK2c2-0K620n6xrDNu1)$fR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9moV$0)@bSpbR(2-2t)t_03HW;==e2nntUywbn>;-WdgNQK{ep;6mV`!;thYhSVUv-j~mX^<%X^~|8G!ydzEU9k& systray -> icons * -> clock * -* draw_foreground(obj) is virtual function. -* -* TODO : -* resize_width(obj, width) = 0 : fonction virtuelle à redéfinir -* recalcule la largeur de l'objet (car la hauteur est fixe) -* - taille systray calculée à partir de la liste des icones -* - taille clock calculée à partir de l'heure -* - taille d'une tache calculée à partir de la taskbar (ajout, suppression, taille) -* - taille d'une taskbar calculée à partir de la taille du panel et des autres objets -* -* voir resize_taskbar(), resize_clock() et resize_tasks() -* voir config(obj) configure un objet (définie les positions verticales) +* draw_foreground(obj) and resize(obj) are virtual function. * **************************************************************************/ -- 2.45.2