summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qmetatype/qmetatype.pro
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2012-11-23 15:10:39 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-23 17:04:00 +0100
commit9a90c2232f1e21b3f61da6c3a472380bcb996736 (patch)
tree847a47225586c523882ee6832ed44dd3c646b38d /tests/auto/corelib/kernel/qmetatype/qmetatype.pro
parent1022c3ce9d445fd482a62309b9a6c52495c04a92 (diff)
Fixed excessive enter/leave events being generated with the xcb plugin.
When we get a leave event we peek ahead in the queue to see if there's an enter event already pending. If so we use QWindowSystemInterface::handleEnterLeave() instead of two separate window system interface events, so that you don't get leave and enter events for the whole parent chain when moving the mouse cursor between two neighbouring native child widgets. We skip VIRTUAL events as they are generated for parent windows, and we only care about the bottom-most window that is being entered / left. Qt can take care of the rest since it knows the QWindow hierarchy. We need to not skip leave events with detail set to INFERIOR, since Qt expects to get a handleEnterLeave() when the mouse moves from a parent window to a child window. Task-number: QTBUG-27550 Change-Id: I7457d2e59d8b694081f2e43a16cd2e58d769624e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests/auto/corelib/kernel/qmetatype/qmetatype.pro')
0 files changed, 0 insertions, 0 deletions