Commit a64bd5d1 authored by Matthias Clasen's avatar Matthias Clasen

Fix gtk_widget_queue_draw

The draw-border removal did not get it right for !no-window widgets.
Bug 627445.
parent 7ef9cc3a
......@@ -3711,9 +3711,12 @@ gtk_widget_queue_draw (GtkWidget *widget)
gtk_widget_get_allocation (widget, &rect);
gtk_widget_queue_draw_area (widget,
rect.x, rect.y,
rect.width, rect.height);
if (GTK_WIDGET_NO_WINDOW (widget))
gtk_widget_queue_draw_area (widget,
rect.x, rect.y, rect.width, rect.height);
else
gtk_widget_queue_draw_area (widget,
0, 0, rect.width, rect.height);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment