From e6a93326bf9c533d8cebef40f00a4cdf0519f414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Tue, 12 May 2020 12:08:41 +0200 Subject: [PATCH] window-actor: Don't freeze actor updates during the size-change effect As explained in the last commits, we'll let gnome-shell take care of this since freezing and thawing needs to be decoupled from the effect starting and ending. So stop freezing the MetaWindowActor when starting the effect and thawing the actor when ending the effect. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1250 --- src/compositor/meta-window-actor.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index fc8ac2c2e..e23b426a9 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -589,7 +589,6 @@ is_freeze_thaw_effect (MetaPluginEffect event) switch (event) { case META_PLUGIN_DESTROY: - case META_PLUGIN_SIZE_CHANGE: return TRUE; break; default: @@ -937,14 +936,10 @@ meta_window_actor_size_change (MetaWindowActor *self, meta_compositor_get_plugin_manager (compositor); priv->size_change_in_progress++; - meta_window_actor_freeze (self); if (!meta_plugin_manager_event_size_change (plugin_mgr, self, which_change, old_frame_rect, old_buffer_rect)) - { - priv->size_change_in_progress--; - meta_window_actor_thaw (self); - } + priv->size_change_in_progress--; } #if 0