[PATCH xserver] present: Only send PresentCompleteNotify events to the presenting client

Keith Packard keithp at keithp.com
Fri Oct 27 16:08:28 UTC 2017


Michel Dänzer <michel at daenzer.net> writes:

> Turns out it's way worse than that. The PresentPixmap and
> PresentNotifyMSC requests don't take a PRESENTEVENTID parameter.
> Instead, present_send_idle/complete_notify send every event to every
> client which called PresentSelectInput for the window with the event
> kind enabled in the event mask, and always set the event ID specified in
> PresentSelectInput in the event sent to each client. This defeats the
> purpose of the event ID and results in all events getting sent to and
> processed by all listening clients.

Well, it certainly makes the event ID do something different at least...

I think we should adopt your suggestion and make these events work like
GraphicsExpose and be sent only to the client who executed the
associated request.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20171027/609bf6f3/attachment.sig>


More information about the xorg-devel mailing list