diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c index de3315b42..6503f973b 100644 --- a/clutter/clutter/clutter-stage.c +++ b/clutter/clutter/clutter-stage.c @@ -3787,12 +3787,14 @@ ClutterGrab * clutter_stage_grab (ClutterStage *stage, ClutterActor *actor) { - ClutterStagePrivate *priv = stage->priv; + ClutterStagePrivate *priv; ClutterGrab *grab; g_return_val_if_fail (CLUTTER_IS_STAGE (stage), NULL); g_return_val_if_fail (CLUTTER_IS_ACTOR (actor), NULL); + priv = stage->priv; + if (!priv->topmost_grab) { ClutterMainContext *context;