Re: FVWM: Referencing windows

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 19 May 2004 23:13:36 +0000

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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed May 19 2004 - 18:16:21 BST

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