Commit 3a1c319c authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

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.
parent a4ccfcee
......@@ -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);
......
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