mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-07-04 08:00:09 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user