summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2021-11-16 06:31:37 +0100
committerDavid Schulz <david.schulz@qt.io>2021-11-18 06:44:26 +0100
commit35263fffeaf6085907009e1fca3fba56be1acdb7 (patch)
tree7a0411b14b04e37ffdecc0abed3605b4c8edd9b6 /CMakeLists.txt
parent16aa4eaa8294b555ead4bd3d6166b6f2c6ee5e3c (diff)
Always check keyboard modifiers when generating mouse events
This is basically a revert of: 634ce491e8e943519593140b858eb2e67253c13e The cached keyboard modifier can get out of sync when switching to another application while a modifier is pressed. In this case we get a key press event but we might not get the key release event, which is expected to reset the cached modifier. Switching back to the Qt application after the modifier was released now still has the old modifier cached. Most prominent example is triggering alt + tab to switch to another application and use the mouse to get back to it. In this case the alt modifier is still cached. Task-number: QTCREATORBUG-26581 Pick-to: 6.2 Change-Id: I9d64b7d730af089778bd1a4b3f1296bcccd5d16d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions