diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-11-21 13:39:38 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-12-28 18:28:30 +0000 |
commit | b2501b0bda6a0bf4f4d5ce19e7efeda236bcbe9a (patch) | |
tree | 406692442fc791cb5162fe4632afa6d9bf9c6282 /tests/auto | |
parent | d2eaf438ac44a39aab6ac6ecc23e9ebb39aa58ac (diff) |
QQuickWindow flushFrameSynchronousEvents: don't hover if nothing dirty
An optimization revising 6f84a09dfbd15aac023580cf06e7b8c24f3b524c
Calling hoverMoveEvent every frame is too inefficient when an item
subclass is actually doing something there. For example, any
QtQuick-based Wayland compositor needs to notify its client windows
when hover state changes, so calling this method too often would
impose extra work to double-check whether it really changed or not.
Change-Id: I98b40a2083700e7a50820bd13154247444249e59
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions