mirror of https://github.com/GNOME/gimp.git
app: disable double buffering on all offscreen widgets
They are rendered only after being completely drawn anyway, so there is no use in wasting an additional buffer for them.
This commit is contained in:
parent
a4ccfcee72
commit
3a1c319c91
|
@ -355,6 +355,8 @@ gimp_overlay_box_add_child (GimpOverlayBox *box,
|
|||
g_return_if_fail (GIMP_IS_OVERLAY_BOX (box));
|
||||
g_return_if_fail (GTK_IS_WIDGET (widget));
|
||||
|
||||
gtk_widget_set_double_buffered (widget, FALSE);
|
||||
|
||||
child = gimp_overlay_child_new (box, widget, xalign, yalign, 0.0, 0.7);
|
||||
|
||||
box->children = g_list_append (box->children, child);
|
||||
|
|
Loading…
Reference in New Issue