plugin-manager: Kill window effects on destroy

We do so for all other window effects already. Why this was left out
is unknown (9b3a0d1ad8f), 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


(cherry picked from commit a4f51da184e8eab0a2d44d0fc535032515436e8d)
This commit is contained in:
Robert Mader 2019-11-08 17:27:28 +00:00 committed by Georges Basile Stavracas Neto
parent 7e5366f233
commit 403d8fcc66

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;