XEventsQueued equivalent in xcb

主宰稳场 提交于 2019-12-12 10:14:55

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!