[mutter/gbsneto/graphene-ray: 34/40] clutter/stage: Remove useless cached pick mode reset




commit 6b75e9931633796d8e66180c6f20cd24097f06af
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Oct 16 17:40:04 2020 -0300

    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

 clutter/clutter/clutter-stage.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c
index 2c33bf62bf..bba3d4c1a8 100644
--- a/clutter/clutter/clutter-stage.c
+++ b/clutter/clutter/clutter-stage.c
@@ -1405,7 +1405,6 @@ _clutter_stage_do_pick_on_view (ClutterStage     *stage,
 
       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);
       priv->cached_pick_mode = mode;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]