global cursor motion events

2010-06-23 Thread James Willcox
Hello, I need to continuously display a sprite at the cursor position from within my composite manager. In order to do this, I of course need to get cursor motion events. My understanding is that this isn't possible without having your window focused or grabbing the server. Since neither are an

Re: [PATCH] Addition to XFixes for cursor constraint

2010-06-19 Thread James Willcox
Keith, On Fri, Jun 18, 2010 at 4:53 PM, Keith Packard wrote: > On Fri, 18 Jun 2010 11:03:49 -0400, Adam Goode wrote: > > On 06/18/2010 03:08 AM, Keith Packard wrote: > > > On Thu, 17 Jun 2010 22:19:04 -0400, Adam Goode > wrote: > > > > > >> https://bugs.freedesktop.org/show_bug.cgi?id=20334 >

Re: [PATCH] Addition to XFixes for cursor constraint

2010-06-18 Thread James Willcox
On Fri, Jun 18, 2010 at 3:08 AM, Keith Packard wrote: > On Thu, 17 Jun 2010 22:19:04 -0400, Adam Goode wrote: > > > https://bugs.freedesktop.org/show_bug.cgi?id=20334 > > Disjoint areas have always been the issue with this bug; not sure this > solves it? Yeah, this simply exposes ScreenPtr->Co

[PATCH] Addition to XFixes for cursor constraint

2010-06-17 Thread James Willcox
Hi, Attached are some patches which add a method of constraining the cursor to a given region (or rect, really). The reason I'd like to have this is to restrict the cursor to the visible area on an overscanned TV screen, though I suppose there may be other uses as well. The patches are against t

[PATCH] Addition to XFixes for cursor constraint

2010-06-17 Thread James Willcox
Hi, Attached are some patches which add a method of constraining the cursor to a given region (or rect, really). The reason I'd like to have this is to restrict the cursor to the visible area on an overscanned TV screen, though I suppose there may be other uses as well. The patches are against t