Re: X Event Interception Extension docs are on the WIKI

Keith Packard <[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
Around 19 o'clock on Mar 23, Stuart Kreitman wrote:

> Currently these docs are readonly, but we should migrate them to a cvs
> database as changes get applied.

Hey, looks like you've got an extension that I need to make Composite more 
useful with transformed windows.  Right now, the compositing manager has 
to be very careful about drawing windows right where the window system 
thinks they belong or pointer events don't get sent to the right place.

Something that just redirects mouse and/or keyboard events through an
external agent before they're processed seems ideal.  However, I've got an
additional problem -- root coordinates may not correctly identify the
target window if the windows overlap in X space but not in the presentation
(think exposé).  

I've been puzzling over this for a while and I think the solution is for
the mapped event to be directed at a specific hierarchy instead of always 
at the root window; DIX could look at the Window in the event and use that 
as the start of the search instead of starting at the root.  I think
the changes to support this in DIX are relatively minor; no changes will 
be needed below that level.

Secondarily, I'll need to allow redirection even when a server grab is in
progress (or mouse events will be completely wrong).  We may need to make
the input manager (and composting manager) immune to server grabs. Doesn't
matter to me if this is in Composite or XEvIE as I'll need both extensions
in any case.

-keith

_______________________________________________
xserver mailing list
[email protected]
http://freedesktop.org/mailman/listinfo/xserver
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh version 2.3.1 11/28/2001

iD8DBQFAYQeDQp8BWwlsTdMRAhMHAJ9GnPRRPQyeCWkHlq8xky/PKjBVmwCaA91y
mhXEYRj0R+ZK6xuyzleB+mY=
=ySYo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.