FVWM: Re: Just an idea, desktop lock on the mousecursor..

From: Dave Goldberg <dsg_at_linus.mitre.org>
Date: Wed, 28 Feb 1996 10:57:41 -0500

My solution to this problem was to have my keys that do GotoPage and
Desk run a function that also calls Next so that the window on that
page (I typically only have one) gets focus when I enter it. It's
mildly annoying if there's more than one window on the page and the
"wrong" one gets selected, but another keystroke on a key bound to
Next takes care of it. Here's the relevant stuff from my .fvwm2rc:

Style "Fvwm*" CirculateSkip
Style "XBuffy" CirculateSkip
Style "*lock" CirculateSkip
Style "XSession" CirculateSkip
Style "XConsole" CirculateSkip

AddToFunc page-and-warp "I" GotoPage $0 $1
+ "I" Next [!iconic CurrentScreen CurrentDesk] Focus

AddToFunc desk-and-warp "I" Desk $0 $1
+ "I" Next [!iconic CurrentScreen CurrentDesk] Focus

The CirculateSkip Styles ensure that only "important" windows get the
focus.

Hope this helps,


Dave Goldberg
Post: The Mitre Corporation\MS B305\202 Burlington Rd.\Bedford, MA 01730
Phone: 617-271-3887
Email: dsg_at_mitre.org

--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Feb 28 1996 - 09:58:14 GMT

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