On 23 Nov 2002 17:28:03 +0100, Felix E. Klee wrote: > > I set up key combinations (CA-Left, CA-Right, CA-UP, CA-DOWN) to move > around pages on a desktop by 100% window size. But when pressing eg. > CA-Left I expect the currently visible window below the mouse cursor to > have input focus. To do this I guess it is easiest to focus the window > below the cursor immediately after changing the page. But how do I set > the focus to the window below the mouse cursor?
You probably want SloppyFocus or MouseFocus. Then a window that happens to be under the cursor will be focused: Style * SloppyFocus If you for some reason insist on using ClickToFocus policy, it's possible to do what you want (but only in 2.5.x): Key Left A CM GotoPageAndFocus -1p +0p Key Right A CM GotoPageAndFocus +1p +0p Key Up A CM GotoPageAndFocus +0p -1p Key Down A CM GotoPageAndFocus +0p +1p DestroyFunc GotoPageAndFocus AddToFunc GotoPageAndFocus + I GotoPage $* + I Next (HasPointer) Focus 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]