[PATCH 5/6] events: Make XYToWindow a screen function pointer

Keith Packard keithp at keithp.com
Mon Mar 31 23:59:47 PDT 2014


Kristian Høgsberg <krh at bitplanet.net> writes:

> This allows DDXen to override the window picking to account for
> native windows not seen by the X server.  The bulk of the picking logic
> is exposed as a new helper function, miSpriteTrace().  This function
> completes the sprite trace filled out by the caller, and can be set up
> to start the search from a given toplevel window.

I guess I was hoping for a minimal patch that just added an XYToWindow
screen function and then had the existing XYToWindow call that so that
all existing XYToWindow calls would 'just work'. I'm also not quite sure
what the device argument to the new function is for; that really isn't
part of this operation.

How about this version instead?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-XYToWindow-a-screen-function.patch
Type: text/x-diff
Size: 8791 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140331/3871eb5c/attachment-0001.patch>
-------------- next part --------------

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140331/3871eb5c/attachment-0001.sig>


More information about the xorg-devel mailing list