FVWM: ClickToFocus, IgnoreModifier and mplayer

2012-05-24 Thread Dominique Michel
With a click to focus without raise policy, I get a very irritating
problem: when it is 2 windows on the screen and numlock is on, the only
possibility to shift the focus to the unfocused window with the mouse
is to put numlock to off.

The solution explained into the FAQ is not a solution for me, I need
the NumLock feature of my keyboard.

I try to put 'IgnoreMidifiers 2' at the beginning of my fvwm-crystal
configuration and my click to focus policy seam to work very
well. But I get another issue: I cannot change the volume in mplayer
with the - of the numeric keypad. Numlock must be on for that, and it
look like fvwm ignore the numlock not only for its own bindings, but
also that it interfere with the bindings of other programs.

With 'IgnoreModifiers' without argument, or without IgnoreModifier, I
can change the volume in mplayer, when it have the focus and with the
same key binding: NumLock to on and '-'.

With focus follow mouse, I don't get this issue. With xfce4
and a click to focus policy, I don't get this issue.

Here is the click to focus without raise policy I use:

Style * !FPEnterToFocus, !FPLeaveToUnfocus, FPClickToFocus,
FPClickDecorToFocus
Style * !FPClickRaisesFocused, FPClickDecorRaisesFocused
Style * FPAllowRaiseClickFunction, FPAllowFocusClickFunction
Style * FPFocusByProgram,
FPFocusByFunction, !FPFocusByFunctionWarpPointer
Style * FPGrabFocus, FPGrabFocusTransient
Style * FPReleaseFocus, FPReleaseFocusTransient

Dominique


We have the heroes we deserve.



Re: FVWM: ClickToFocus, IgnoreModifier and mplayer

2012-05-24 Thread Thomas Adam
On Thu, May 24, 2012 at 08:48:42PM +0200, Dominique Michel wrote:
 With focus follow mouse, I don't get this issue. With xfce4
 and a click to focus policy, I don't get this issue.

I am not surprised.  IgnoreModifiers doesn't work well with ClickToFocus.

No, not a lot you can do.

-- Thomas Adam

-- 
Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not. -- Morrissey (Girl Least Likely To -- off of Viva Hate.)