Export getTimestamp to the native interface
authorMartin Gräßlin <mgraesslin@kde.org>
Fri, 2 Aug 2013 04:24:36 +0000 (06:24 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 7 Aug 2013 11:49:43 +0000 (13:49 +0200)
commit45ab9d0c336f686d009061893dd8144eacd90040
treeff13f2370f245cda2eca88c9501376d72dce32ed
parent4780e5326f3ec858252f0ef3b8bb779dbf37b4fe
Export getTimestamp to the native interface

The functionality to get the current x11 timestamp is also needed by
applications which need to interact with the X11 directly. With XCB
it is not possible to inspect the event queue and by that an
application is not able to retrieve the current timestamp using the
property change pattern and waiting for the matching event.

Change-Id: Ie7ba78ecbe509ed3a902c702266917f65bf5ad07
Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
Reviewed-by: David Faure (KDE) <faure@kde.org>
src/plugins/platforms/xcb/qxcbnativeinterface.cpp
src/plugins/platforms/xcb/qxcbnativeinterface.h