Re: FVWM: Setting focus policy on individual windows question

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Fri, 21 Mar 2003 15:23:46 +0000

On 22 Mar 2003 01:14:42 +1100, Andrew Koschier wrote:
>
> The man page says :
> "Focus policy can be specified for individual windows."
>
> Does this mean I can set the focus policy for a specific window (Ie. having
> unique Window ID) dynamically ?
> Is so then could someone tell me how please ?

No, this is not possible currently.
The man page means "for individual windows matching a pattern".

> At first I thought I could use the Style command but it only applies to groups
> of windows according to name, class, or resource string (according to the
> manual)

Usually you do want to define the same focus policy (or other style
attributes) for windows with the same name/class. If this is your case
you may dynamically do:

  Pick Style $[w.resource] ...

You may use Current or ThisWindow instead of Pick depending on the needs.
No quotes should be used here, it is auto-single-quoted-and-escaped.
In older versions it is $n and $r, not $[w.name] and $[w.resource].

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 Fri Mar 21 2003 - 09:25:06 GMT

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