GNOME Bugzilla – Bug 772615
window-tracker: Consider Flatpak ID for window matching
Last modified: 2016-10-10 22:59:16 UTC
See patch.
Created attachment 337243 [details] [review] window-tracker: Consider Flatpak ID for window matching Our window matching currently fails frequently with Flatpak applications, as one of the primary hints used to link windows with .desktop files - the WM_CLASS - no longer matches when flatpak renames the exported .desktop file. Worse, as Flatpak applications are run in their own PID namespace, different apps frequently share a common _NET_WM_PID, resulting in unrelated apps being grouped together by one of the fallback paths. To match Flatpak applications reliably, take the newly exported Flatpak ID into account.
Review of attachment 337243 [details] [review]: lgtm ::: src/shell-window-tracker.c @@ +405,2 @@ /* Check if the window has a GApplication ID attached; this is * canonical if it does no longer canonical :-)
Attachment 337243 [details] pushed as 0c22a21 - window-tracker: Consider Flatpak ID for window matching