This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: XWarpCursor doesn't "stick"
- From: "Harold Hunt" <huntharo at msu dot edu>
- To: "Trost, Bill" <BillT at VideoTele dot com>
- Cc: <cygwin-xfree at cygwin dot com>
- Date: Tue, 9 Apr 2002 01:34:17 -0400
- Subject: RE: XWarpCursor doesn't "stick"
Bill,
Did Server Test 55 solve your problem?
I don't recall seeing an email from you stating that the problem was fixed.
Let me know for sure and I'll get the patch committed.
http://xfree86.cygwin.com/devel/shadow/
Thanks,
Harold
> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Trost, Bill
> Sent: Thursday, April 04, 2002 11:43 AM
> To: 'Harold L Hunt'
> Cc: cygwin-xfree@cygwin.com
> Subject: RE: XWarpCursor doesn't "stick"
>
>
> From: Harold L Hunt [mailto:huntharo@msu.edu]
>
> So lets say that the Windows cursor is at 100, 100 (screen
> coords), the upper left-hand corner of the Cygwin/XFree86
> client area is
> at
> 25, 25 (screen coords) and a warp request comes in to move to the X
> cursor
> to 200, 200 (X windows coords). I am thinking of two things that you
> could be saying:
>
> 1) ...
>
> 2) Or, I receive a request to move the cursor to a final
> location of 200, 200 and I do so, which fails to take into
> account that
> the X
> cursor root is at 25, 25 in Windows screen coodinates.
>
> It looks like #2 to me. Email sure makes it hard to explain some things,
> doesn't it?
>
> Visually, the effect is, if I simply run "XWin" (so that the X
> root occupies
> a maximized Windows window), after a large warp, tweaking the mouse will
> cause the pointer to jump up one title-bar height.
>
> ...I need to query for the
> upper-left hand corner of the Cygwin/XFree86 client area
> before calling SetCursorPos so that I can offset the final
> destination.
>
> That's what I guess needs fixing.
>
> Notice that no one has really request the WarpCursor
> functionality before, that's why it doesn't work yet. :)
>
> Really? I'm shocked! (-:
>
>