Re: FVWM: AutoFocus on desk change

From: Dominik Vogt <dominik.vogt_at_fvwm.org>
Date: Tue, 10 Apr 2001 10:21:41 +0200

On Tue, Apr 10, 2001 at 10:51:14AM +0300, Max Ischenko wrote:
>
> I used to use SloppyFocus policy but today I decide to play with
> ClickToFocus. I have a problem when switching to another page using
> GotoPage command -- focus remains on last window.
>
> Is it possible to focus a window on current page automatically?

You can either use desks instead of pages. Each desk has its own
focused window and since recently keeping this window active
really works. Or you can make a function:

  AddToFunc GotoPageAndFocus
  + I GotoPage $0 $1
  + I Next (CurrentPage) Focus

Then use this function instead of GotoPage everywhere. However,
this does not work when scrolling the viewport or dragging windows
over the screen edge. And if the pointer lands on a window (for
SloppyFocus or MouseFocus), the window may not gain focus.

Bye

Dominik ^_^ ^_^

--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 Tue Apr 10 2001 - 04:20:51 BST

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