Re: FVWM: AutoFocus on desk change

From: Max Ischenko <max_at_malva.com.ua>
Date: Tue, 10 Apr 2001 12:29:51 +0300

Dominik Vogt wrote:

> 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

Thanks, it works, albeit not perfectly.
>
> 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.

I'd better go back to SloppyFocus. ;-)

-- 
Best regards, Maxim F. Ischenko.
--
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:29:39 BST

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