Merge pull request #531 from Schneegans/feature/gnome-49

This commit is contained in:
Simon Schneegans
2025-08-15 13:05:33 +02:00
committed by GitHub
3 changed files with 11 additions and 4 deletions
+1
View File
@@ -11,6 +11,7 @@ SPDX-License-Identifier: CC-BY-4.0
#### New Features #### New Features
- Ported the extension to GNOME 49.
- Added a color preview widget to the preferences of the Aura Glow effect. Thanks to [@lstrsrt](https://github.com/lstrsrt) for this contribution! - Added a color preview widget to the preferences of the Aura Glow effect. Thanks to [@lstrsrt](https://github.com/lstrsrt) for this contribution!
## [Burn My Windows 46](https://github.com/schneegans/Burn-My-Windows/releases/tag/v46) ## [Burn My Windows 46](https://github.com/schneegans/Burn-My-Windows/releases/tag/v46)
+1 -1
View File
@@ -9,7 +9,7 @@
}, },
"gettext-domain": "burn-my-windows", "gettext-domain": "burn-my-windows",
"settings-schema": "org.gnome.shell.extensions.burn-my-windows", "settings-schema": "org.gnome.shell.extensions.burn-my-windows",
"shell-version": ["45", "46", "47", "48"], "shell-version": ["45", "46", "47", "48", "49"],
"url": "https://github.com/Schneegans/Burn-My-Windows", "url": "https://github.com/Schneegans/Burn-My-Windows",
"version": 46 "version": 46
} }
+8 -2
View File
@@ -133,8 +133,14 @@ export var Shader = GObject.registerClass({
// This is not necessarily symmetric, but I haven't figured out a way to // This is not necessarily symmetric, but I haven't figured out a way to
// get the actual values... // get the actual values...
const padding = (actor.width - actor.meta_window.get_frame_rect().width) / 2; const padding = (actor.width - actor.meta_window.get_frame_rect().width) / 2;
const isFullscreen = actor.meta_window.get_maximized() === Meta.MaximizeFlags.BOTH || let isFullscreen = actor.meta_window.fullscreen;
actor.meta_window.fullscreen;
// is_maximized has been added in GNOME 49.
if (actor.meta_window.is_maximized) {
isFullscreen |= actor.meta_window.is_maximized();
} else {
isFullscreen |= actor.meta_window.get_maximized() === Meta.MaximizeFlags.BOTH;
}
this.set_uniform_float(this._uPadding, 1, [padding]); this.set_uniform_float(this._uPadding, 1, [padding]);
this.set_uniform_float(this._uForOpening, 1, [forOpening]); this.set_uniform_float(this._uForOpening, 1, [forOpening]);