[xmonad] Get mouse to follow cursor
Magnus Ågren
agren at sics.se
Wed Jun 10 02:42:21 EDT 2009
Hi
When I move to a new window I would like the mouse pointer to be at
the same position as the text cursor. Does anyone have a solution to
this?
I would like this since I use
http://linuxaleph.blogspot.com/2008/11/mapping-middle-click-to-keyboard-key.html
to be able to paste text using the keyboard, and for this to work for
example in a browser input field the mouse must follow the text cursor.
Currently I use
import XMonad.Actions.UpdatePointer
and
logHook = updatePointer (Relative 0.5 0.5)
to get the pointer to at least follow the focused window.
Thanks in advance.
Magnus
More information about the xmonad
mailing list