Репозитории ALT
S: | 2.31.0-alt3 |
5.1: | 2.26.2-alt1 |
4.0: | 2.16.0-alt1 |
3.0: | 2.10.2-alt1 |
Группа :: Система/Библиотеки
Пакет: libwnck
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: libwnck-2.18-fix-intersect.diff
Скачать
Скачать
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)
{