[xmonad] Pointer follows focus (with patch)
Robert
robreim at bobturf.org
Sat Mar 1 09:42:53 EST 2008
Spencer Janssen wrote:
> Yes, this should be very easy with the code you've already written, I'd
> forgotten about it! Something like:
>
> logHook = withFocused warp
>
> With the defn. of warp from your patch.
>
Thanks, it really was about that easy. logHook is awesome.
I've created patch for an UpdateFocus module which I've attached. It
does basically what you suggest. It's also documented and updated to
only move the mouse to the nearest point of the newly focused window
minimising the distance it travels.
Thanks also to lithis for looking at this while I was away.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: updatepointer.patch
Type: text/x-patch
Size: 31303 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080301/87abd7f3/updatepointer-0001.bin
More information about the xmonad
mailing list