diff --git a/docs/changelog.md b/docs/changelog.md index 3b285a5..053431b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -16,6 +16,7 @@ SPDX-License-Identifier: CC-BY-4.0 #### Bug Fixes +- Fixed an issue which caused overly large windows on GNOME for certain applications (e.g. KPatience) if they were re-opened after being closed in maximized state. - Fixed an issue with the archive format which caused a failure when installing the effects via KDE Discover. ## [Burn My Windows 38](https://github.com/schneegans/Burn-My-Windows/releases/tag/v38) diff --git a/extension.js b/extension.js index 21d496e..c8bfabd 100644 --- a/extension.js +++ b/extension.js @@ -603,6 +603,10 @@ class Extension { actor._bmwOverviewCloneContainer.scale_y = 1.0; } + // Restore the original scale of the window actor. + actor.scale_x = 1.0; + actor.scale_y = 1.0; + // Remove the shader and mark it being re-usable for future animations. actor.remove_effect(shader); shader.returnToFactory();