diff --git a/0001-window-list-Use-correct-params-when-re-tracking-chro.patch b/0001-window-list-Use-correct-params-when-re-tracking-chro.patch new file mode 100644 index 0000000..5803a8d --- /dev/null +++ b/0001-window-list-Use-correct-params-when-re-tracking-chro.patch @@ -0,0 +1,38 @@ +From 01f7df1e8a2de1340589dbcd47f98ff6a1744035 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Florian=20M=C3=BCllner?= +Date: Wed, 15 Jan 2025 12:36:51 +0100 +Subject: [PATCH] window-list: Use correct params when re-tracking chrome + +Since commit 981e8e42, we temporarily untrack the window-list actor +while in the overview. + +However as we don't pass pass the chrome parameters when re-tracking +chrome, the window-list no longer contributes to struts or tracks +fullscreen changes, whoops. + +Make sure to pass the original parameters when re-tracking chrome +to restore the expected behavior. + +Fixes: 981e8e42 ("window-list: Untrack chrome while in overview") +Closes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/550 +Part-of: +--- + extensions/window-list/extension.js | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js +index d20e5270..a768d735 100644 +--- a/extensions/window-list/extension.js ++++ b/extensions/window-list/extension.js +@@ -1029,7 +1029,7 @@ class WindowList extends St.Widget { + this._updateKeyboardAnchor(); + }, + 'hidden', () => { +- Main.layoutManager.trackChrome(this); ++ Main.layoutManager.trackChrome(this, chromeOptions); + this.visible = !this._monitor.inFullscreen; + this._updateKeyboardAnchor(); + }, this); +-- +2.47.1 + diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec index 765508e..5d9bea0 100644 --- a/gnome-shell-extensions.spec +++ b/gnome-shell-extensions.spec @@ -20,6 +20,8 @@ License: GPL-2.0-or-later URL: http://wiki.gnome.org/Projects/GnomeShell/Extensions Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz +Patch: 0001-window-list-Use-correct-params-when-re-tracking-chro.patch + BuildRequires: meson BuildRequires: git BuildRequires: gettext >= 0.19.6