diff --git a/src/st/st-button.c b/src/st/st-button.c index f47ce2132..78a931f31 100644 --- a/src/st/st-button.c +++ b/src/st/st-button.c @@ -211,7 +211,7 @@ st_button_button_release (ClutterActor *actor, { gboolean is_click; - is_click = button->priv->grabbed && st_widget_get_hover (ST_WIDGET (button)); + is_click = button->priv->grabbed && clutter_actor_contains (actor, event->source); st_button_release (button, device, mask, is_click ? event->button : 0, NULL); button->priv->grabbed &= ~mask;