I'm trying to get gtxwc apps properly grouped in the gnome "window list" applet.
Googling around I've tried to add WM_CLASS strings:
/* Set the class hints so we can get an icon (AfterStep) */
{
XClassHint *classhints;
classhints = XAllocClassHint();
if(classhints != NULL) {
classhints->res_name = "Harbour_App";
classhints->res_class = "Harbour_App";
XSetClassHint( wnd->dpy, wnd->window, classhints);
XFree(classhints);
}
}
but without success.
I've also tried to set WM_CLIENT_LEADER:
static Atom s_atomClientLeader;
...
s_atomClientLeader = XInternAtom( wnd->dpy, "WM_CLIENT_LEADER", True );
but I guess this is more complicated since it require to have an app as leader.
I see that "simple" X11 apps ike xcalc get grouped so I wonder where
can be the "magic"?
best regards,
Lorenzo
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour