| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][QX11Info] Added new API to peek into the
XCB event queue - peekEventQueue(). This enables porting
certain Qt4-based applications to Qt5 (those using Xlib's
event handling functions to peek into the X11 event queue).
In Qt5 we set XCB to be the owner of the X11 event queue
with XSetEventQueueOwner(dpy, XCBOwnsEventQueue), which
means that only XCB event handling functions can be used
to read events from the X server. XCB does not have an
equivalent for Xlib's peeker API. For filtering out unwanted
native events Qt5 provides QAbstractNativeEventFilter::nativeEventFilter(),
but there isn't any API in Qt to just *peek* into the queue
while the GUI thread is busy processing a long task. The
peekEventQueue() function adds this capability via QX11Info.
Manual and auto test included.
Task-number: QTBUG-50358
Change-Id: Id31f797f7ff76d011ad7a55a9b6c13756aaaca60
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
|
|
|
| |
Required to be able to continue to compile this module
with the modularized configure
Change-Id: Idd5984576ba770cccd2312e91dbd2ff2bcc55fab
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I15ab6f816ba30f16cac7f2e3d6ab0ebd549a3ade
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I87821d698ea50359b63da569818a2ded6ee865d8
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
|
|
Add unit test for QX11Info, taken from Qt4 and extended.
Change-Id: I22f403f47bb5413b954c06f8cb78992e02726f6d
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
|