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