Steam currently uses the same class/instance for all it's windows, making it hard to distinguish them (i.e. when using a tiling window manager one probably wants to let the window manager automatically move the "Friends"-window somewhere), a current hack is to distinguish windows via their title.
This is not a portable approach, since it depends on the locale/language setting.
Thus it would be good, if Steam assigns each window a id (you do probably have some internal name for each window, I guess. At least I can't think about an UI system without such a mechanism.) and use that as the instance part of WM_CLASS (the X11 structure).
Steam currently uses the same class/instance for all it's windows, making it hard to distinguish them (i.e. when using a tiling window manager one probably wants to let the window manager automatically move the "Friends"-window somewhere), a current hack is to distinguish windows via their title.
This is not a portable approach, since it depends on the locale/language setting.
Thus it would be good, if Steam assigns each window a id (you do probably have some internal name for each window, I guess. At least I can't think about an UI system without such a mechanism.) and use that as the instance part of WM_CLASS (the X11 structure).