On 19 May 2004 16:33:32 -0400, Ryan Daly wrote:
> 
> Mikhael Goikhman said:
> >
> > Yes, you may reference a window by either window name, class or resource
> > in Style or conditional commands.
> >
> > It is also possible to refer to a window by its id in WindowId
> > conditional (as well as to change the style using WindowStyle command
> > in 2.5.x).
> 
> Great.  Is there an easy way to add style-like options based on WindowId?
> 
> I tried...
> 
> Style "0x1a00003" CascadePlacement

First, CascadePlacement works for new windows, it makes no much sense to
change the placement policy of existing windows. Such change affects one
PlaceAgain command. Is this what you need?

Second, if you reread what I said, Style does not work with ids; WindowId
and WindowStyle do. Please refer to the man page. It is:

  WindowId 0x1a00003 WindowStyle CascadePlacement

However you normally never need to use WindowId directly (unless you
restore previously stored id), you need one or another conditional
command producing window context, like:

  All ("Mozilla") WindowStyle CascadePlacement

But again, CascadePlacement option is not something you want to configure
this way, you probably just want:

  Style "Mozilla" CascadePlacement

Regards,
Mikhael.
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to