Proposal for Version 0.4 of Xfixes Extension

Keith Packard keithp at keithp.com
Thu Jan 19 18:44:46 PST 2006


On Thu, 2006-01-19 at 14:36 -0800, Deron Johnson wrote:
> Here is a proposal for Version 0.4 of the Xfixes extension. It includes
> both the grab event and the show/hide cursor request that Keith and I
> have been discussing. Please let us know what you think.

I think the grab stuff needs clarification, in particular, I'm assuming
you intend for grabs within the entire hierarchy to cause an event to be
delivered, not just for the particular window. That means a request on
the root window would report any grab activating within the entire
screen.

What about grabs on other screens? Do you hear about them too?

And, I was thinking that the HideCursor/ShowCursor stuff should be
hierarchical as well; pass a window and have that cause the cursor to
not be displayed within that window (or sub windows). With this, we
again have the question about grabs, and I suggest that probably grabs
within the hierarchy would respect the hide value while grabs outside
would ignore it. I don't think this is terribly hard to implement; it's
just a check up the tree for hide values each time the cursor enters
another window or the pointer is grabbed.

Also left undefined is the behaviour when multiple clients make this
request. I suggest that the effect should be cumulative. 

Also, the effect of any calls to HideCursor should be voided when the
resources for the client are destroyed (which tracks client closure,
except when resources are retained).

-- 
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/20060119/7a641bde/attachment-0002.pgp


More information about the xorg-arch mailing list