On Mon, Mar 06, 2006 at 05:31:17PM -0700, Jonathan Kotta wrote:
> I'm trying to make a function to warp the pointer to the middle of a
> window and then move it, so I can do moves with the keyboard. The
> reason I want to warp is because if the pointer is outside of the
> window, it eventually gets to the edge sometimes and causes a page
> flip. With the obvious solution
>
> DestroyFunc WarpAndMove AddToFunc WarpAndMove + I WarpToWindow 50 50 +
> I Move
>
> the pointer warps to the middle of the window, and then the window
> moves as if the move had started before the warp. This doesn't seem
> very intuitive to me. Am I missing something? Is there a work around?

DestroyFunc WarpAndMove
AddToFunc WarpAndMove
+ I WarpToWindow 50 50
+ I Schedule 10 Move

-- Thomas Adam

--  
I've been too honest with myself, I should have lied like everybody else.

Reply via email to