From ad6b95650fe1e469c0bfbececb115fe5082b49be Mon Sep 17 00:00:00 2001 From: DaPigGuy Date: Fri, 9 Jan 2026 23:29:06 -0800 Subject: [PATCH 1/2] Support GNOME 50.beta - `meta_is_wayland_compositor` was removed with the X11 backend in GNOME 50 - `scale-monitor-framebuffer` is no longer experimental in GNOME 50 See: https://gitlab.gnome.org/GNOME/mutter/-/commit/b4348951ec9f0ea8d043c7bb9536a90c8d3904cf https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4877 --- src/components/applications.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/applications.js b/src/components/applications.js index e2a8bdf9..834adbc8 100644 --- a/src/components/applications.js +++ b/src/components/applications.js @@ -1,6 +1,7 @@ import Meta from 'gi://Meta'; import Gio from 'gi://Gio'; import * as Main from 'resource:///org/gnome/shell/ui/main.js'; +import * as Config from 'resource:///org/gnome/shell/misc/config.js'; import { ApplicationsService } from '../dbus/services.js'; import { PaintSignals } from '../conveniences/paint_signals.js'; @@ -362,9 +363,14 @@ export const ApplicationsBlur = class ApplicationsBlur { /// If `scale-monitor-framebuffer` experimental feature if on, we don't need to manage scaling. /// Else, on wayland, we need to divide by the scale to get the correct result. compute_allocation(meta_window) { - const scale_monitor_framebuffer = this.mutter_gsettings.get_strv('experimental-features') - .includes('scale-monitor-framebuffer'); - const is_wayland = Meta.is_wayland_compositor(); + // TODO: Drop GNOME <50 compatibility + const gnome_shell_major_version = parseInt(Config.PACKAGE_VERSION.split('.')[0]); + const scale_monitor_framebuffer = + gnome_shell_major_version >= 50 || + this.mutter_gsettings + .get_strv('experimental-features') + .includes('scale-monitor-framebuffer'); + const is_wayland = gnome_shell_major_version >= 50 || Meta.is_wayland_compositor(); const monitor_index = meta_window.get_monitor(); // check if the window is using wayland, or xwayland/xorg for rendering const scale = !scale_monitor_framebuffer && is_wayland && meta_window.get_client_type() == 0 From 10a17eb358c1cc36fd8ddef15b687ada98c9a0ca Mon Sep 17 00:00:00 2001 From: DaPigGuy Date: Sat, 7 Feb 2026 02:09:52 -0800 Subject: [PATCH 2/2] Add GNOME 50 to supported versions --- metadata.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index bf8cef87..db7a9757 100644 --- a/metadata.json +++ b/metadata.json @@ -5,7 +5,8 @@ "46", "47", "48", - "49" + "49", + "50" ], "url": "https://github.com/aunetx/blur-my-shell", "uuid": "blur-my-shell@aunetx",