summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qmacgesturerecognizer_p.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-04-30 10:03:19 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-05-03 08:14:05 +0000
commitda32360ffc3c7b677355c37ae54c89637c18047f (patch)
tree9a3e7df11a939065dd91d5731edaf1b61fe67cac /src/widgets/kernel/qmacgesturerecognizer_p.h
parent2ef83cc12c8e507655a354feb5590cf444dc31d4 (diff)
macOS: ensure mouse events from the global monitor has the correct button set
The global monitor will be used when popup windows are visible to catch all mouse events. But only certain kind of NSEvents has a buttonNumber set to something useful. So we need to check for this case before we create a QPA event. Task-number: QTBUG-60887 Change-Id: I5631c76ae82b8bfd232642036a08b5a8a29491c7 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/widgets/kernel/qmacgesturerecognizer_p.h')
0 files changed, 0 insertions, 0 deletions