Peter Harris <phar...@opentext.com> writes: > On 2013-11-05 19:41, Keith Packard wrote: >> This allows apps to peel off certain XGE events into separate queues >> for custom handling. Designed to support the Present extension >> >> Signed-off-by: Keith Packard <kei...@keithp.com> > > Re: xcb_register_for_special_event, xcb_unregister_for_special_event, > xcb_check_for_special_event, and xcb_wait_for_special_event. > > There was some push-back the last time something similar to this came > up, on the theory that it should be in a separate library from xcb[1]. > That said, we may have reached the point where it's just too useful to > not have in libxcb.
The magic extra library is a non-solution. The user implementing event handling doesn't know what GLX/EGL is doing, so you can't rely on them using the magic extra library. This implementation is basically the "fix events somehow" option in that cited email: the new events have the multiplexing token (the eid field), and this is the code for getting those events to the code that registered for the event.
pgpAtFUdPsCrR.pgp
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel