<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#c13">Comment # 13</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=mclasen%40redhat.com" title="Matthias Clasen <mclasen@redhat.com>"> <span class="fn">Matthias Clasen</span></a>
</span></b>
<pre><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.</span >
ah, so this goes into the whole application matching mess, where we try to
guess which window relates to which application.
<span class="quote">> 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.</span >
Sadly, there is no such api, so what you have is probably the best we can do.</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>