[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:15:40 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=746435
--- Comment #15 from Jonas Ã…dahl <jadahl at gmail.com> ---
(In reply to Matthias Clasen from comment #13)
> > 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.
Is this information available at all in there? There needs to be no gtk
application API really, GTK application needs to provide the information to
GDK.
--
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/02074353/attachment.html>
More information about the wayland-bugs
mailing list