Sebastian Keller e38db1237d window: Don't change workspaces of unmanaged windows
If the ancestor a window is transient for has already been unmanaged
when the window is activated via meta_window_activate_full while its
transient_for property still points to that ancestor, this will cause
the already unmanaged ancestor to get added to the windows workspace.
This is after the ancestor had its workspace set to NULL when it was
unmanaged, causing this to look like an actual workspace change. Once
the window has been added to the workspace, it will never be removed
again, because the it has already been unmanaged. This confuses things
like the shell window tracker and leads to phantom windows being
considered present for apps that are not even running anymore.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4184
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2003>
2021-09-29 09:34:30 +00:00
..
2019-03-12 00:27:07 +00:00
2018-11-06 17:17:36 +01:00
2021-07-15 11:25:21 +02:00
2021-02-22 13:52:27 +01:00
2021-09-22 11:38:17 +00:00
2021-05-17 16:08:42 +00:00
2018-11-06 17:17:36 +01:00
2021-02-22 13:52:27 +01:00