mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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
This commit is contained in:
parent
fb474fb612
commit
e6a93326bf
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user