Hi --

On 08/11/2007, Dan Espen <[EMAIL PROTECTED]> wrote:
> "Thomas Adam" <[EMAIL PROTECTED]> writes:
> > On 08/11/2007, Anton Kazennikov <[EMAIL PROTECTED]> wrote:
> > > Hello all!
> > >
> > > Is there any possibility to match window class and name in styles?
> > > For example, Psi IM has WM_CLASS "psi/mainwnd" for roster list, and 
> > > "psi/ps
> > i"
> > > for chat windows, and I want assign different styles to them.
> > >
> > > If there isn't such possibility, will be it implemented in future?
> >
> > It's not possible to match *both* for the same style, no.   There is a
> > branch in CVS which breaks existing compatibility to try and do this
> > though.
>
> If the windows have 2 different class values, Fvwm should be able to match
> to each one, providing that value isn't also the name or resource.
> (Fvwm  matches all 3.)

Yes, but you can't say:

Style title=foo class=bar Sticky

At -best- you can try and fudge the order of precedence such that when
you list the style lines, you put the class or title before one
another depending on which is the more important match.  But it's
still going to match one for a specific window.

> I thought the issue with the branch in CVS was that it was too big a
> change before the mythical 2.6 release, not that it broke compatibility.

Pass.

-- Thomas Adam

Reply via email to