1
0
Fork 0

plugin-manager: Kill window effects on destroy

We do so for all other window effects already. Why this was left out
is unknown (9b3a0d1ad8), but we will need it for a fix in GS.

Related: https://gitlab.gnome.org/GNOME/mutter/issues/655

https://gitlab.gnome.org/GNOME/mutter/merge_requests/924
This commit is contained in:
Robert Mader 2019-11-08 18:27:28 +01:00 committed by Georges Basile Stavracas Neto
parent 0545b93232
commit a4f51da184

View file

@ -195,6 +195,8 @@ meta_plugin_manager_event_simple (MetaPluginManager *plugin_mgr,
if (klass->destroy) if (klass->destroy)
{ {
retval = TRUE; retval = TRUE;
meta_plugin_manager_kill_window_effects (plugin_mgr,
actor);
klass->destroy (plugin, actor); klass->destroy (plugin, actor);
} }
break; break;