WM_CLASS purpose?

2012-10-28 Thread Vladimir A . Pavlov
Hi. I'm working on a window manager and I got a few questions concerning WM_CLASS property. The questions are: 1. What is WM_CLASS's purpose? I thought it's to find    X resources set by xrdb but Xrm* functions doesn't    seem to depend on it. Is there any specific purpose,    or does WM_CLASS h

Re: WM_CLASS purpose?

2012-10-30 Thread Vladimir A . Pavlov
> >    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. Yo

Re: WM_CLASS purpose?

2012-10-30 Thread Vladimir A . Pavlov
> > > >    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 s

Re: WM_CLASS purpose?

2012-10-31 Thread Vladimir A . Pavlov
Wed, 31 Oct 2012 20:05:22 +0100 от Thomas Lübking : > On Mittwoch, 31. Oktober 2012 18:19:02 CEST, Vladimir A. Pavlov wrote: > > > One more question: would it be correct to set only WM_WINDOW_ROLE > > and not to set WM_CLASS, WM_CLIENT_LEADER, SM_CLIENT_ID? > > No. It d