Re: FVWM: focus following desktop switch. How?

From: Ben Winslow <rain_at_bluecherry.net>
Date: 14 Mar 2003 11:08:45 -0500

On Fri, 2003-03-14 at 03:50, Jules Alberts wrote:
> Hello everyone,
>
> My .fvwm2rc has these statements:
>
> key right a mc scroll 100000 0
> key right a mc scroll -100000 0
>
> so I can shift easily to another desktop (I use 4). There is a problem
> though, when I go to another desktop, the window that originally had
> focus (usually on the previous desktop) still has focus. As a result I
> start typing Mozilla keystrokes into Vim :-)
>
> Is there a way to let fvwm give focus to a (most recently accessed or
> the one on top) window on the current desktop?
>
> TIA!

The best way to do this is probably with Peter McAlpine's FvwmTrackFocus
module. I just threw the version I have at
http://themuffin.net/FvwmTrackFocus.pl, although he's probably lurking
and may have a more recent version. Essentially, all you need to do it
start it with the rest of your modules, and it'll take care of focusing
the proper window.

-- 
Ben Winslow <rain_at_bluecherry.net>



--
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 Fri Mar 14 2003 - 10:10:03 GMT

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