This will make it simpler to port Qt4/Xlib based
applications to Qt5 when Qt4 based application
uses Xlib's event handling APIs directly such as:
XNextEvent+XPutBackEvent and XPeekEvent. It
is not possible to use those with Qt5 because
we set XCB to be the owner of X event queue with:
Which means that only xcb event handling functions
can be used to read events from X server. XCB does
not have equivalents for the above mentioned Xlib APIs.
peekEventQueue() adds this behavior to QX11Info.
|For Gerrit Dashboard: QTBUG-50358|
|145441,3||Allow to peek into X11 event queue||orkus||qt/qtbase||Status: ABANDONED||0||0|
|145442,7||Add ::peekEventQueue() API||orkus||qt/qtx11extras||Status: ABANDONED||0||0|
|153336,35||Add QX11Info::peekEventQueue() API||5.10||qt/qtx11extras||Status: MERGED||-2||0|
|153337,31||xcb: add support for peeking into the XCB event queue||dev||qt/qtbase||Status: MERGED||-2||0|