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:
parent
8858c3aaa0
commit
06b28a610b
@ -2767,7 +2767,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
cairo_restore (cr);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
return gtk_widget_has_visible_focus (widget);
|
||||
}
|
||||
|
||||
/* Autoscrolling {{{3 */
|
||||
|
Loading…
Reference in New Issue
Block a user