[mutter] clutter/stage: Clear pick stack when hiding



commit 01609de587bbeb69c7f0988256221ecef160e896
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Sat May 30 00:15:46 2020 +0200

    clutter/stage: Clear pick stack when hiding
    
    Hiding a compositor stage is not something that's really supported, but
    will still be used by tests, to get closer to a "fresh" stage for each
    test case, when the tests eventually start using the mutter provided
    stage.
    
    It'll use that stage simply because creating standalone stages isn't
    supported.
    
    https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1289

 clutter/clutter/clutter-stage.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c
index e5bbbc7c98..61737abd4b 100644
--- a/clutter/clutter/clutter-stage.c
+++ b/clutter/clutter/clutter-stage.c
@@ -1071,6 +1071,7 @@ clutter_stage_hide (ClutterActor *self)
   ClutterStagePrivate *priv = CLUTTER_STAGE (self)->priv;
 
   g_assert (priv->impl != NULL);
+  _clutter_stage_clear_pick_stack (CLUTTER_STAGE (self));
   _clutter_stage_window_hide (priv->impl);
 
   CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->hide (self);


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