Re: FVWM: a few Q's

From: Marcus Lundblad <ml_at_update.uu.se>
Date: Sun, 13 Apr 2003 11:26:26 +0200 (CEST)

> 1) Focus when switching pages: When I switch a page, I want the last focused window
> on that page (before i left) to be refocused. To do this, I tried to write a function
> like:
>
> AddToFunc GotoPageAndFocus
> + I GotoPage $0 $1
> + I Next [CurrentPage] Focus

The commands Next, Current, Prec etc, are called directional
commands. They define a "search direction" for windows. So Current means
"no direction", Next means "forward direction" and so on.
The part within "[]" are conditions that are to be met for a window to
match.
So "Next [CurrentPage]" matches the first window counting "forward" in the
window stack that is on the current page.
Current means the current window in the stack, but if there is also
[CurrentPage] it will only match the current window if it's on the current
page, otherwise no window will match.

The same applies to for example "Raised", "Lowered"

//Marcus

--
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 Sun Apr 13 2003 - 04:27:54 BST

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