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>
This commit is contained in:
parent
4fd2034a50
commit
41c91c7a3b
@ -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…
Reference in New Issue
Block a user