path: root/config.tests/qpa/xcb-poll-for-queued-event/
Commit message (Collapse)AuthorAgeFilesLines
* Resolve xcb_poll_for_queued_event at run-time.Samuel Rødal2012-11-071-5/+0
| | | | | | | | | By not making this a compile time decision we ensure forward compatibility for older xcb versions if the xcb plugin is built against a newer xcb. Change-Id: I744777d53bf7b8deb6eff372494f4403d19d364c Reviewed-by: Kai Koehne <>
* Move XCB event reading to a separate thread.Samuel Rødal2011-08-261-0/+5
Work-around for bug in XCB which causes a xcb_wait_for_reply to block if xcb_poll_for_events() is called simultaneously from a different thread. If the XCB version is too old this work-around causes even more problems, so we kill two birds with one stone by only using the work-around if the XCB version has the recent xcb_poll_for_queue_event() function, which we also need to read events from a separate thread with reasonable efficiency. Change-Id: I8a899dad6ded381ce42cba0112e77da3c8aa6887 Reviewed-on: Reviewed-by: Lars Knoll <>