Fix clip position of windowed widgets

This commit is contained in:
Timm Bäder 2016-10-28 17:55:13 +02:00
parent c7496b86b6
commit acbdd5c8f2
2 changed files with 4 additions and 0 deletions

View File

@ -1247,6 +1247,8 @@ gtk_paned_size_allocate (GtkWidget *widget,
gtk_widget_get_allocated_baseline (widget),
&clip);
clip.x += allocation->x;
clip.y += allocation->y;
gtk_widget_set_clip (widget, &clip);
}

View File

@ -2202,6 +2202,8 @@ gtk_stack_size_allocate (GtkWidget *widget,
allocation,
gtk_widget_get_allocated_baseline (widget),
&clip);
clip.x += allocation->x;
clip.y += allocation->y;
gtk_widget_set_clip (widget, &clip);
}