mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
window-tracker: Only emit ::tracked-windows-changed on title changes
Since commita1d650ce27, 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 commit41c91c7a3b)
This commit is contained in:
parent
4fac895ecd
commit
937594b806
1 changed files with 1 additions and 1 deletions
|
|
@ -530,7 +530,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue