--- Comment #4 from Julien Isorce <> ---
Created attachment 137438
wip-not-working: poll special dri2 events

As Scott also mentioned, mesa/src/glx/dri2.c::DRI2WireToEvent is never called
when xcb owns the Xlib event queue or as soon as xcb_poll_for_event is called
from the app client.

I was curious of what is done for present extension in
src/loader/loader_dri3_helper.c, so I mimic that solution, i.e. poll special
events by calling "xcb_register_for_special_xge(xcb_dri2_id)" and

The attached experimental patch builds and runs but
"xcb_poll_for_special_event" does not return any event but it was worth a try.
(I am not sending it to mesa-dev as it is an experimentation)

You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
mesa-dev mailing list

Reply via email to