Am Freitag, den 26.12.2008, 20:34 -0800 schrieb Ian Zimmerman:

> Ian> Hi, reading the info manual I see this in chapter Windows, article
> Ian> Input Focus:
> 
> Ian>     `warp-if-necessary' Warp the cursor to the window if doing so
> Ian> would make the cursor position "consistent" with the focus mode.
> Ian> For example, in `enter-exit' mode we warp the cursor if it is not
> Ian> already in this window.  In `enter-only' mode, we warp the cursor
> Ian> if it is in another window, but not if it is over the desktop--a
> Ian> window would not lose focus when the cursor moved from it to the
> Ian> desktop.
> 
> Ian> This doesn't seem to be true, when switching focus by keyboard
> Ian> cycling, sawfish will happily leave the cursor in the "old focus"
> Ian> window.  Since I just switched back to sawfish because it (alone
> Ian> among the more modern WMs, apparently) has enter-exit, and I prefer
> Ian> enter-exit for its consistency, I find this situation kind of sad.
> Ian> Does anyone know what's up here?  Am I misreading the document?  It
> Ian> wouldn't be to hard to define a new mode following the other
> Ian> information in this info node, but I don't want to reinvent the
> Ian> wheel.
> 
> Update (sorry for self-followup): after reading a couple more info nodes,
> I added the following to my .sawfishrc.  It didn't change anything!  Why?
> It's as if W-Tab cycling didn't count as focus change :-(
> 
> (defun my-focus-hook (w mod)
>   (warp-pointer-if-necessary w))
> 
> (add-hook 'focus-in-hook my-focus-hook)
> 


See this one:
http://sawfish.wikia.com/wiki/Warp-if-necessary_when_cycling I'll commit
it now.
It was suspended, because we didn't want to change behaviour that much
(there's a second patch of that kind),
but if the info manual tells that this what the patch does is already
implemented, but isn't, then
there shouldn't be a problem.

Chris

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to