On Fri, 2 Nov 2012, Rodolfo García Peñas wrote:
may be incorrect. What application does have this problem. Could
this be a bug on that application's side instead?

gitk, but the application has title.

Looks like gitk only sets the WM_NAME (and _NET_WM_NAME) properties and does not set an icon name. Here's a patch (to gitk) to fix it:

--- gitk.orig   2012-04-08 18:23:57.000000000 +0200
+++ gitk        2012-11-02 02:06:35.129295195 +0100
@@ -11830,6 +11830,7 @@
 # wait for the window to become visible
 tkwait visibility .
 wm title . "$appname: [reponame]"
+wm iconname . "$appname: [reponame]"
 update
 readrefs


With this it has a name also when iconified so I think it's really a bug in gitk. If you insist to have a fallback for a missing icon name in Window Maker then WM_CLASS looks like what is used elsewhere as far as I could find because that's usually short while WM_NAME is meant to be the title of the window and can be longer than what would fit an icon.

Regards,
BALATON Zoltan

Reply via email to