flowbox: Don't render focus erroneously

The gadget render function should only return TRUE if the
widget has the focus, and wants it rendered.
This commit is contained in:
Matthias Clasen 2015-12-15 15:10:08 -05:00
parent 8858c3aaa0
commit 06b28a610b

View File

@ -2767,7 +2767,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
cairo_restore (cr);
}
return TRUE;
return gtk_widget_has_visible_focus (widget);
}
/* Autoscrolling {{{3 */