The two functions needed should be
gtk_window_set_wmclass(GtkWindow *window, const gchar *wmclass_name, const gchar *wmclass_class)
http://developer.gnome.org/doc/API/2.2/gtk/GtkWindow.html#gtk-window-set-wmc...
and/or
gtk_window_set_role(GtkWindow *window, const gchar *role);
http://developer.gnome.org/doc/API/2.2/gtk/GtkWindow.html#gtk-window-set-rol...
Trent Buck wrote:
Quoth Bryce Harrington on or about 2004-05-11:
On Wed, 12 May 2004, Trent Buck wrote:
This should probably be to -devel, but I'm in a hurry.
Is it possible to make the WM_CLASS property of Inkscape's dialog equal to, say, "Inkscape", "inkscape-dialog" instead of having all windows as "Inkscape", "inkscape"?
I want to try messing about with my WM's window-ignore preferences, since I think Inkscape will then work better with my WM (http://ratpoison.sf.net).
Good idea, yes this is definitely possible. Send in a feature request (RFE) to the tracker with some more details (suggested dialog names, etc.) and also send a note to the inkscape-devel list with a link to the RFE so folks are aware of it.
Is on my todo list, will get to it RSN.
-t