Re: FVWM: Matching windows with * in it's name

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Tue, 26 Oct 2004 10:10:16 +0200

On Thu, Oct 21, 2004 at 10:58:40AM +0200, Rafal Bisingier wrote:
> >
> >
> > On Wed, 20 Oct 2004, Rafal Bisingier wrote:
> >
> > >Hello all,
> > >
> > >I've found a problem with selecting windows which name/res/class/icon
> > >contains a literal *.
> > >I've looked in the source code, and if I understand it function
> > >matchWildcards from libs/wild.c use every * as a wildcard, so there is no
> > >chance to match only a literal *.
> > >I think I can patch it to use ** as a literal *, but I'm not sure if
> > >it's a good way of resolving this problem.
> > >
> >
> > ** is used to match all windows in the Icon style.
> > (here "Style * Icon ..." only sets the default icon if the program doesn't
> > specify one, "Style ** Icon .." also overrides program-specified icons for
> > all windows)
> <cut>
>
> I know that with Style you can use ** as a literal *, but the problem
> which I've written about with conditional commands (All,Any,...). I've
> tested it and looked up in the source code, and if I understand what
> i've seen ;-) there is no way to match a window with literal * in it's
> name.

We recently had a discussion about qouting of window titles.
Mikhael came up with with a suggestion to solve it by enhancing
$[...] expansion. Maybe someone can look up the thread in the
list archives.

Ciao

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de


--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Oct 26 2004 - 04:08:54 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST