Re: FVWM: Focus question

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Mon, 23 Dec 2002 18:34:31 +0000

On 23 Dec 2002 10:56:56 -0600, Norvell Spearman wrote:
>
> fvwm-2.5.5
>
> To make sure I understand the man page and FAQ correctly: Having
>
> Style * FPGrabFocus
>
> in my .fvwm2rc allows all new windows to grab the focus, but the only
> way to focus and warp the pointer to all new windows is by using
> FvwmEvent (FAQ, question 3.18)? If so, I'm a bit confused by the

Yes, this is correct.

There is no single meaning of "warp the pointer". Some users preffer a
pointer to just to "50 50", some - to "10p 10p", and some - to "50 7p".

> ``FvwmEvent-NewWindow'' syntax (I didn't see any examples of
> ``FvwmEvent-<foo>:'' in FvwmEvent's man page).

There is an example in the fvwm man page under MODULE COMMANDS. It is your
choice how to call module aliases. NewWindowEvent would be good too.

> If I already have these lines
>
> AddToFunc StartFunction
> + I Module FvwmEvent
>
> in my .fvwm2rc, do I need to add a line for FvwmEvent-NewWindow?

This is exactly the case when you want to use module aliases, to run
several instances of the same module with different actions.

You may name your original instance as something like FvwmEvent-Sound.

  *FvwmEvent-Sound: iconify ding.wav

  AddToFunc StartFunction
  + I Module FvwmEvent FvwmEvent-Sound
  + I Module FvwmEvent FvwmEvent-NewWindow

Or continue to use it in a non-aliased form, just always use a
non-conflicting semicolon syntax, otherwise there will be conflicts.

  *FvwmEvent: iconify ding.wav

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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Dec 23 2002 - 12:36:05 GMT

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