clutter/stage: Remove useless cached pick mode reset

It happens a couple of lines above, in _clutter_stage_clear_pick_stack().

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1509
This commit is contained in:
Georges Basile Stavracas Neto 2020-10-16 17:40:04 -03:00
parent 56ed0bf001
commit 0d79a0faf8

View File

@ -1404,7 +1404,6 @@ _clutter_stage_do_pick_on_view (ClutterStage *stage,
pick_context = clutter_pick_context_new_for_view (view, mode); pick_context = clutter_pick_context_new_for_view (view, mode);
priv->cached_pick_mode = CLUTTER_PICK_NONE;
clutter_actor_pick (CLUTTER_ACTOR (stage), pick_context); clutter_actor_pick (CLUTTER_ACTOR (stage), pick_context);
priv->cached_pick_mode = mode; priv->cached_pick_mode = mode;