StWidget: unset hover when unmapped
This ensures that the hover property doesn't return true after the widget is unmapped while being hovered over. https://bugzilla.gnome.org/show_bug.cgi?id=642726
This commit is contained in:
parent
f34ce9271c
commit
c692fa4687
@ -444,6 +444,9 @@ st_widget_unmap (ClutterActor *actor)
|
|||||||
|
|
||||||
if (priv->tooltip)
|
if (priv->tooltip)
|
||||||
clutter_actor_unmap ((ClutterActor *) priv->tooltip);
|
clutter_actor_unmap ((ClutterActor *) priv->tooltip);
|
||||||
|
|
||||||
|
if (priv->track_hover && priv->hover)
|
||||||
|
st_widget_set_hover (ST_WIDGET (actor), FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void notify_children_of_style_change (ClutterContainer *container);
|
static void notify_children_of_style_change (ClutterContainer *container);
|
||||||
|
Loading…
Reference in New Issue
Block a user