🪲 Fix yet another incompatibility with the Magic Lamp
This commit is contained in:
@@ -5,6 +5,14 @@ SPDX-License-Identifier: CC-BY-4.0
|
|||||||
|
|
||||||
# Changelog of the Burn-My-Windows Extension
|
# Changelog of the Burn-My-Windows Extension
|
||||||
|
|
||||||
|
## [Burn My Windows 30](https://github.com/schneegans/Burn-My-Windows/releases/tag/v30)
|
||||||
|
|
||||||
|
**Release Date:** 2023-04-08
|
||||||
|
|
||||||
|
#### Bug Fixes
|
||||||
|
|
||||||
|
* Fixed yet another incompatibility with the [Compiz alike magic lamp effect](https://extensions.gnome.org/extension/3740/compiz-alike-magic-lamp-effect/).
|
||||||
|
|
||||||
## [Burn My Windows 29](https://github.com/schneegans/Burn-My-Windows/releases/tag/v29)
|
## [Burn My Windows 29](https://github.com/schneegans/Burn-My-Windows/releases/tag/v29)
|
||||||
|
|
||||||
**Release Date:** 2023-04-08
|
**Release Date:** 2023-04-08
|
||||||
|
|||||||
+3
-3
@@ -166,9 +166,9 @@ class Extension {
|
|||||||
// if this breaks stuff left and right...
|
// if this breaks stuff left and right...
|
||||||
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1120
|
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/windowManager.js#L1120
|
||||||
Main.wm._shouldAnimateActor = function(actor, types) {
|
Main.wm._shouldAnimateActor = function(actor, types) {
|
||||||
const caller = (new Error()).stack.split('\n')[1];
|
const stack = (new Error()).stack;
|
||||||
const forClosing = caller.includes('_destroyWindow@');
|
const forClosing = stack.includes('_destroyWindow@');
|
||||||
const forOpening = caller.includes('_mapWindow@');
|
const forOpening = stack.includes('_mapWindow@');
|
||||||
|
|
||||||
// This is also called in other cases, for instance when minimizing windows. We are
|
// This is also called in other cases, for instance when minimizing windows. We are
|
||||||
// only interested in window opening and window closing for now.
|
// only interested in window opening and window closing for now.
|
||||||
|
|||||||
Reference in New Issue
Block a user