I’m currently working on a game based on Panda3D and ran into a rather tiny issue, but I couldn’t find any solution to it in the forums or on IRC.
As far as I can tell, you are only able to change the WM_NAME (the window title), but not the WM_CLASS. The latter one is used by e.g. Gnome to identify the application in the task bar. With no WM_CLASS set, it will just display it as “Unknown”, which is quite annoying.
I also looked into the X11 part of the Panda3D source (1.9), but couldn’t identify any section there which would set the WM_CLASS. Thus my question is if this feature is actually missing and if so, if it will be implemented in a future release.
Well, WM_CLASS is something the user should normally be able to set himself. Gnome-Shell will first check if the WM_CLASS is defined in a .desktop file, and use that application name then, else it will use the WM_CLASS directly.
The program xprop shows good examples from running programs: