Fix clip of more windowed widgets

This commit is contained in:
Timm Bäder 2016-10-28 18:10:22 +02:00
parent acbdd5c8f2
commit 5c99f7a670
2 changed files with 5 additions and 1 deletions

View File

@ -511,6 +511,8 @@ gtk_flow_box_child_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

@ -2680,7 +2680,9 @@ gtk_list_box_size_allocate (GtkWidget *widget,
gtk_widget_get_allocated_baseline (widget),
&clip);
_gtk_widget_set_simple_clip (widget, &clip);
clip.x += allocation->x;
clip.y += allocation->y;
gtk_widget_set_clip (widget, &clip);
}