Re: gtk_window wmclass_name



On Tue, Mar 25, 2003 at 05:47:24PM -0500, Christopher James Lahey wrote:
> I noticed that gtk_window initializes wmclass_name to g_get_prgname.  I
> noticed the new API g_get_application_name and was wondering if
> gtk_window should be using that instead.

No, the difference between prgname and application_name is that the
app name is translated. The window class should not be localized.
See the ICCCM for what the window class should be set to.

> This is an issue because that field is what appears to be used in
> tasklist when doing grouping.  (At least in 2.2.)

The tasklist is grouping on the basis of the group leader window,
which is a concept not exposed in the GTK API that ends up
corresponding to "a single process" for GTK.  Traditionally (Motif
etc.), I think it was more like "one toplevel window plus transients"
and really GTK is probably broken here.

See also: http://bugzilla.gnome.org/show_bug.cgi?id=76159

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]