[mutter] window-actor: Don't freeze actor updates during the size-change effect
- From: Robert Mader <rmader src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window-actor: Don't freeze actor updates during the size-change effect
- Date: Mon, 15 Jun 2020 13:22:16 +0000 (UTC)
commit e6a93326bf9c533d8cebef40f00a4cdf0519f414
Author: Jonas Dreßler <verdre v0yd nl>
Date: Tue May 12 12:08:41 2020 +0200
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 fc8ac2c2ef..e23b426a91 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]