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

Keith Packard keithp at keithp.com
Mon Oct 23 14:35:59 UTC 2017


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

> Looking at the Mesa code, it uses xcb_generate_id to generate the event
> ID. AFAICT the XCB code is properly checking and only queuing special
> events with a matching event ID, so the only possible explanation seems
> that xcb_generate_id ends up generating the same ID for multiple
> clients. Is that plausible?

Not unless the first one was closed before the second opened. XIDs are
globally unique in X.

-- 
-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/20171023/6496d30d/attachment.sig>


More information about the xorg-devel mailing list