https://bugzilla.gnome.org/show_bug.cgi?id=752258
--- Comment #31 from Florian Müllner <[email protected]> ---
(In reply to Michael Catanzaro from comment #30)
> Our preferred solution is to simply revert this change. Then
> WM_CLASS/xdg_surface.set_application_id will be preferred always. D-Bus
> activatable applications will need to set their prgname to the full name of
> the desktop file, e.g. g_set_prgname("org.gnome.gedit").
The current heuristics used in gnome-shell check for _GTK_APPLICATION_ID first,
and only then use WM_CLASS/xdg_surface.application_id. So unless you are
suggesting to modify our heuristics, the g_set_prgname() call is not used for
app matching in the case of DBus-activatable apps as long as they're based on
GtkApplication.
> To make this simpler, it would be ideal for applications to not need to call
> g_set_prgname, but for it to be set properly automatically.
That should already work for the majority of applications on X11 - prgname
defaults to the executable's basename, which usually matches the .desktop
filename for non-DBus-activatable apps.
And if xdg_surface.application_id is changed to match the prgname again, it
would just work for most apps on wayland again.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs