问题
I have read 'Need for XEventsQueued(display, QueuedAfterReading) in XCB' but the answer specifies a function (xcb_poll_for_queued_event
) that modifies the internal event queue. I need a function that is exactly the equivalent of XEventsQueued(display, QueuedAfterReading)
.
Modifying the event queue breaks the code I'm currently writing if done where XEventsQueued
would be used.
What is the equivalent function or block of code in xcb?
来源:https://stackoverflow.com/questions/31624732/xeventsqueued-equivalent-in-xcb