Vladimir A. Pavlov wrote:

> > >    For example, let's suppose I have a window manager
> > >    somebox that has taskbar, dock, menus for starting
> > >    applications/switching workspaces and configuration dialogs.
> > >    What should be res_name/res_class for each of them?
> > 
> > An X client should have a single name and class. You shouldn't use
> > different values for different windows within a single client
> > (however, it's possible for a single process to contain multiple
> > clients by calling XtOpenApplication() multiple times; each "client"
> > has a separate X connection and XtAppContext).
> 
> So, if _you_ write a window manager "somebox" what values would
> you use for res_name and res_class in the above example?

The default class would be "SomeBox" while the default name would be
the base name (everything after the last "/") of argv[0], which would
typically be "somebox". These could be overridden by the -class and
-name switches respectively.

-- 
Glynn Clements <[email protected]>
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to