On 29 Jun 2001 08:57:43 -0700, Danek Duvall wrote:
> 
> On Fri, Jun 29, 2001 at 08:39:09AM -0400, Dan Espen wrote:
> 
> > The "Next [*] Focus" command violates that rule, but unclutter fixes it
> > up.  If you want to focus on a new window with either of these focus
> > models, warptowindow should be used.
> 
> One inconvenient thing about warptowindow is that there's no programmatic
> way to get back to the original window.  So if you want a command to
> temporarily get you to a different window and then put you back as if
> nothing had happened, warping the pointer doesn't work so well.
> 
> Specifically, I like to bring up FvwmConsole with a single keystroke.  I
> get focus in the new window immediately, type whatever I need in it, and
> when I hit ^D to get out of it, my focus returns to the window I was in
> before (because the mouse hasn't moved).
> 
> Is there a better way of doing this?

If I correctly understand the question, here is how to achieve this:

  Style * StickyFocus
  Style FvwmConsole GrabFocus
  Key F12 A M FvwmConsole

The second way, which also achieves this (in 2.2.x it works differently):

  AddToFunc StartFvwmConsole
  + I FvwmConsole
  + I Wait FvwmConsole
  + I Next (FvwmConsole) Focus  # Focus NoWarp if 2 non-sticky FvwmConsole

I only post tested examples.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to