<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: Use g_get_prgname as the xdg surface application id"
href="https://bugzilla.gnome.org/show_bug.cgi?id=746435#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: Use g_get_prgname as the xdg surface application id"
href="https://bugzilla.gnome.org/show_bug.cgi?id=746435">bug 746435</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>(In reply to Matthias Clasen from <a href="show_bug.cgi?id=746435#c13">comment #13</a>)
<span class="quote">> > 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.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>