On Fri, Jul 04, 2014 at 11:11:37AM +0200, Walter Alejandro Iglesias wrote:
> 
> First
> -----
> 
> Using MouseFocus and WindowList function without WarpToWindow, i.e.:
> 
> DestroyFunc     WindowListFunc
> AddToFunc       WindowListFunc
> + I Iconify off
> + I FlipFocus
> + I Raise
> #+ I WarpToWindow 5p 5p
> 
> Key Tab A M WindowList
> 
> Style * MouseFocus
> 
> or
> 
> Style * FPEnterToFocus, FPLeaveToUnfocus
> 
> I can cycle the focus over all windows using the keyboard (Alt+Tab).
> But if I move the pointer with my mouse over the background (no window
> focused) the WindowListFunc is unable to focus again any window.
> 
> The curious thing is this behaviour isn't strict, some times it gives
> the focus to some window after two or three Alt+Tab attempts, some times
> it doesn't, some times it just raises the stacked window but without
> giving it the focus.  Once *magically*, after some Alt+Tab attempts,
> some window gets the focus, MouseFocus allows me to cycle the focus over
> windows normally again with the pointer staying on root.
> 
> It doesn't happen using i.e.:
> 
> Key Tab A M Next (CurrentPage) Focus
> 
> So perhaps it's a WindowList issue.

I'll check that problem later, but I can well imagine that
MouseFocus does not work well with the FlipFocus command.

> Second
> ------
> 
> This time commenting out Raise from WindowListFunc:
> 
> AddToFunc       WindowListFunc
> + I Iconify off
> + I FlipFocus
> #+ I Raise
> + I WarpToWindow 5p 5p
> 
> Windows are raised anyway, unless I comment out the WarpToWindow too.
> 
> AddToFunc       WindowListFunc
> + I Iconify off
> + I FlipFocus
> #+ I Raise
> #+ I WarpToWindow 5p 5p
> 
> Using this:
> 
> Key Tab A M Next (CurrentPage) WarpToWindow 5p 5p
> 
> Windows are raised too.  I thought that the window was raised by
> WarpToWindow but using this last Key binding with ClickToFocus it
> doesn't.  Besides, if WarpToWindow raises why to include Raise in
> default WindowListFunc?

I can confirm this.  Raising is hard coded into the WarpToWindow
command, and that's not documented.  I'll add the option "!raise"
to the WarpToWindow command to circumvent this.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt

Reply via email to