Index: libwnck/tasklist.c =================================================================== --- libwnck/tasklist.c (révision 1351) +++ libwnck/tasklist.c (copie de travail) @@ -3831,6 +3831,7 @@ wnck_task_expose (GtkWidget *widg GdkGC *lgc, *dgc; int x, y, i, j; WnckTask *task; + GdkRectangle rect; task = WNCK_TASK (data); @@ -3856,10 +3857,7 @@ wnck_task_expose (GtkWidget *widg /* Fall through to get screenshot */ case WNCK_TASK_WINDOW: - if ((event->area.x <= widget->allocation.x) && - (event->area.y <= widget->allocation.y) && - (event->area.width >= widget->allocation.width) && - (event->area.height >= widget->allocation.height)) + if (gdk_rectangle_intersect (&event->area, &widget->allocation, &rect)) { if (task->start_needs_attention) {