I have narrowed the problem: When using the default WindowListFunc,
the mouse cursor warps to the selected window. However, if the
cursor is warped to the decoration, and not the main window, it
somehow disturbs the focusing, as described.
Temporary solution is to redefine WindowListFunc without the last
line (WarpToWindow):
DestroyFunc WindowListFunc
AddToFunc WindowListFunc
+ I Iconify off
+ I FlipFocus
+ I Raise
Or to make sure that the cursor is warped to the main window:
DestroyFunc WindowListFunc
AddToFunc WindowListFunc
+ I Iconify off
+ I FlipFocus
+ I Raise
+ I WarpToWindow 30p 30p
If the title decoration is less than 30 pixels high.
Please answer; can you reproduce this?
--Mads N Noe
On Mon, Jul 02, 2007 at 03:10:42PM +0200, Mads N Noe wrote:
> Configuration Information [Automatically generated, do not change]:
> uname: Linux madsnoe-1 2.6.20-gentoo-r8 #5 Fri Jun 22 17:54:43 CEST 2007 i686
> Intel(R) Pentium(R) 4 CPU 2.53GHz GenuineIntel GNU/Linux
> compiler flags: i686-pc-linux-gnu-gcc -Wall -Wno-implicit-int -O2
> -march=pentium4 -pipe -fno-strict-aliasing
>
> FVWM Version: 2.5.18
> FVWM_MODULEDIR: /usr/lib/fvwm/2.5.18
> FVWM_DATADIR: /usr/share/fvwm
> FVWM_USERDIR: /home/mntnoe/.fvwm
>
> Description:
> When changing windows using a WindowList, commands like
> Maximize and Iconify are ignored when issued from a
> keybinding. The problem is still persistent in
> fvwm-snapshot-2007-07-02.
>
> Repeat-By:
> - Create a default .fvwm2rc using FvwmForm-Setup.
> - Add the line "Key M WT SM Maximize" and restart fvwm.
> - Launch an xterm. Focus it with the mouse. Press
> Meta-Shift-M. The window properly maximizes.
> - Focus the window using Alt-Tab. Now without moving the
> mouse, press Meta-Shift-M. Nothing happens.
>
> If you can give me a hint on what is causing this, I can try to aid
> you fixing it.
>