diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-10-21 13:54:45 +0200 |
---|---|---|
committer | Jonathan Liu <net147@gmail.com> | 2014-10-22 05:53:54 +0200 |
commit | 1a097dc139d42f165af0c78ced0934b7e6747d9e (patch) | |
tree | 29638897b7b61b01cff364975ba62acf65ccc1d1 /src/platformsupport/eglconvenience/qeglplatformcursor.cpp | |
parent | dafd1ffa2c6fb8823b8e582d7cc75a050e14a80e (diff) |
eglfs: Do not flush input events when updating the cursor
Task-number: QTBUG-42079
Change-Id: Ica806a090db74b4a1c34421334a28d7efd002b35
Reviewed-by: Jonathan Liu <net147@gmail.com>
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/platformsupport/eglconvenience/qeglplatformcursor.cpp')
-rw-r--r-- | src/platformsupport/eglconvenience/qeglplatformcursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platformsupport/eglconvenience/qeglplatformcursor.cpp b/src/platformsupport/eglconvenience/qeglplatformcursor.cpp index df6e6cd50c..cf41bd2f1b 100644 --- a/src/platformsupport/eglconvenience/qeglplatformcursor.cpp +++ b/src/platformsupport/eglconvenience/qeglplatformcursor.cpp @@ -267,7 +267,7 @@ void QEGLPlatformCursorUpdater::update(const QPoint &pos, const QRegion &rgn) { m_active = false; QWindowSystemInterface::handleExposeEvent(m_screen->topLevelAt(pos), rgn); - QWindowSystemInterface::flushWindowSystemEvents(); + QWindowSystemInterface::flushWindowSystemEvents(QEventLoop::ExcludeUserInputEvents); } void QEGLPlatformCursorUpdater::scheduleUpdate(const QPoint &pos, const QRegion &rgn) |