kludges: use upstreams code to fix insertion issue

This is fixed in upstream, so use the correct code. Probably not necessary, but
dosen't hurt.
This commit is contained in:
Tor Hedin Brønner
2019-11-12 00:59:16 +01:00
parent 9a64129006
commit e9fa665fb2

View File

@@ -337,7 +337,11 @@ function init() {
// Work around https://gitlab.gnome.org/GNOME/gnome-shell/issues/1884
if (!WindowManager.WindowManager._removeEffect) {
registerOverridePrototype(WindowManager.WindowManager, '_mapWindowOverwrite',
WindowManager.WindowManager.prototype._mapWindowDone);
function (shellwm, actor) {
if (this._mapping.delete(actor)) {
shellwm.completed_map(actor);
}
});
}
if (version[1] > 32)