On Sat, Jun 14, 2003 at 06:37:34PM +0000, Mikhael Goikhman wrote:
> On 14 Jun 2003 19:04:51 +0200, Olivier Chapuis wrote:
> > 
> > My "WindowStyle" patch leads me to study the __simplify_style_list
> > function.
> > 
> > Here some possible amelioration:
> > 
> > 1 - style name compatibility:
> > 
> > Example:
> > 
> > Style abc* options1
> > Style hop* options2
> > Style abc* options3
> > 
> > with options2 flags-inter options3 not empty. This is not simplified,
> > but as no window can match both abc* and hop*, in fact this can
> > be simplified to 
> > 
> > Style hop* options1
> > Style abc* merge(options1, option2)
> > 
> > The point is to write down a efficent algo for: given two pattern p1
> > and p2, decides whether there exists a string which matchs both p1 and
> > p2. I've done this.
> 
> The problem here is that it is easy to create a window that matches both
> "abc*" and "hop*".  xterm -class abc -title hop
>

Ooops, yes this simplification was stupid.

Regards, Olivier
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to