parent
21f3fd3f4a
commit
969ed324e9
@ -0,0 +1,44 @@
|
|||||||
|
From e3823964957ba4dcc86b21db09b280b9299bc8cc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Carlos Garnacho <carlosg@gnome.org>
|
||||||
|
Date: Fri, 10 Feb 2023 15:07:50 +0100
|
||||||
|
Subject: [PATCH] window-tracker: Only emit ::tracked-windows-changed on title
|
||||||
|
changes
|
||||||
|
|
||||||
|
Since commit a1d650ce27, window title changes are listened for in the
|
||||||
|
ShellWindowTracker in order to emit ::tracked-windows-changed when
|
||||||
|
there are window title changes.
|
||||||
|
|
||||||
|
The rest of the things that happen in between (removing the window
|
||||||
|
from a ShellApp, possibly have it destroyed, and possibly creating a
|
||||||
|
new ShellApp to re-insert the window) are superfluous and even result
|
||||||
|
in the altTab switcher popup ending up confused about the applications
|
||||||
|
available.
|
||||||
|
|
||||||
|
Only emit the signal so changes can be followed on D-Bus, but avoid
|
||||||
|
the ShellApp fiddling otherwise.
|
||||||
|
|
||||||
|
Fixes: a1d650ce27 - window-tracker: Emit 'tracked-windows-changed' on title changes
|
||||||
|
|
||||||
|
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6385
|
||||||
|
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2634>
|
||||||
|
(cherry picked from commit 41c91c7a3b7f186720a0a518ef2211cb744421f3)
|
||||||
|
---
|
||||||
|
src/shell-window-tracker.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c
|
||||||
|
index bc14040d9b..01143dfd7f 100644
|
||||||
|
--- a/src/shell-window-tracker.c
|
||||||
|
+++ b/src/shell-window-tracker.c
|
||||||
|
@@ -524,7 +524,7 @@ on_title_changed (MetaWindow *window,
|
||||||
|
gpointer user_data)
|
||||||
|
{
|
||||||
|
ShellWindowTracker *self = SHELL_WINDOW_TRACKER (user_data);
|
||||||
|
- tracked_window_changed (self, window);
|
||||||
|
+ g_signal_emit (self, signals[TRACKED_WINDOWS_CHANGED], 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: gnome-shell
|
Name: gnome-shell
|
||||||
Version: 40.10
|
Version: 40.10
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Summary: Window management and application launching for GNOME
|
Summary: Window management and application launching for GNOME
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -54,6 +54,7 @@ Patch51: 0001-magnifier-Request-window-relative-coordinates-for-fo.patch
|
|||||||
Patch52: 0001-osk-layouts-Replace-SS-extra-key-with.patch
|
Patch52: 0001-osk-layouts-Replace-SS-extra-key-with.patch
|
||||||
Patch53: 0001-po-Update-translations.patch
|
Patch53: 0001-po-Update-translations.patch
|
||||||
Patch54: 0001-st-icon-Only-get-resource-scale-after-peeking-theme-.patch
|
Patch54: 0001-st-icon-Only-get-resource-scale-after-peeking-theme-.patch
|
||||||
|
Patch55: 0001-window-tracker-Only-emit-tracked-windows-changed-on-.patch
|
||||||
|
|
||||||
%define eds_version 3.33.1
|
%define eds_version 3.33.1
|
||||||
%define gnome_desktop_version 3.35.91
|
%define gnome_desktop_version 3.35.91
|
||||||
@ -272,6 +273,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de
|
|||||||
%{_mandir}/man1/gnome-shell.1*
|
%{_mandir}/man1/gnome-shell.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 13 2023 Jonas Ådahl <jadahl@redhat.com> - 40.10-11
|
||||||
|
- Backport 'WindowsChanged' regression fix
|
||||||
|
Resolves: #2168915
|
||||||
|
|
||||||
* Mon Feb 13 2023 Jonas Ådahl <jadahl@redhat.com> - 40.10-10
|
* Mon Feb 13 2023 Jonas Ådahl <jadahl@redhat.com> - 40.10-10
|
||||||
- Backport fix for starting headless
|
- Backport fix for starting headless
|
||||||
Resolves: #2116363
|
Resolves: #2116363
|
||||||
|
Loading…
Reference in New Issue
Block a user