mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
scrolledwindow: Don't hide indicators if leaving towards a child
In that case the scrolledwindow still gets events through the captured handler, and can thus still control visibility, so hiding the indicators in this case can only lead to flashing.
This commit is contained in:
parent
e82d471c55
commit
93ae728cc6
@ -393,7 +393,7 @@ gtk_scrolled_window_leave_notify (GtkWidget *widget,
|
||||
{
|
||||
GtkScrolledWindowPrivate *priv = GTK_SCROLLED_WINDOW (widget)->priv;
|
||||
|
||||
if (priv->use_indicators)
|
||||
if (priv->use_indicators && event->detail != GDK_NOTIFY_INFERIOR)
|
||||
{
|
||||
indicator_set_over (&priv->hindicator, FALSE);
|
||||
indicator_set_over (&priv->vindicator, FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user