Event redirection issue: determining the type of triggered grabs

Keith Packard keithp at keithp.com
Wed Jan 18 13:58:46 PST 2006


On Wed, 2006-01-18 at 12:52 -0800, Deron Johnson wrote:
> I think I have hit on a solution that should require no changes to the
> X server.
> 
> When a 3D client invokes an active grab, instead of invoking the
> active grab on the pseudo-root window, the grab will be invoked on a
> special "active grab window" created by the display server for this
> purpose. Events which return to the display server via this window
> will be known to be from an active grab. This will give me enough
> information to figure out which specific 3D object the active grab was
> invoked upon.

Ok, that sounds like what I had attempted to describe before, and I
think that part will work.

> 2. If an Enter event with NotifyGrab is generated and the entered
>    window is the PRW, a default button grab has triggered. Fetch
>    the 3D grab object from the last motion event.

If the pointer is already in the PRW, no enter event will be generated.
Is this an issue?  

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.x.org/archives/xorg-arch/attachments/20060118/2e34fe14/attachment-0003.pgp


More information about the xorg-arch mailing list