mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
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
This commit is contained in:
parent
83ee122fad
commit
01609de587
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user