[Wayland-bugs] [Bug 746435] wayland: Use g_get_prgname as the xdg surface application id
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Sun Mar 29 19:12:50 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=746435
--- Comment #13 from Matthias Clasen <mclasen at redhat.com> ---
> mutter calls meta_window_set_wm_class with the app_id as both the name and
> instance. gnome-shell then tries to use these to find the appliation, either by
> its the StartupWMClass or the .desktop basename.
ah, so this goes into the whole application matching mess, where we try to
guess which window relates to which application.
> If there is any API in GTK application to get the basename of the .desktop
> application, it'd probably be best to try that first and then fallback to
> g_get_prgname. I don't think we should keep using the GDK program class, as
> it'll never be correct.
Sadly, there is no such api, so what you have is probably the best we can do.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150330/c51a2f7e/attachment.html>
More information about the wayland-bugs
mailing list