summaryrefslogtreecommitdiffstats
path: root/examples/widgets/mainwindows/menus
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-10-14 16:27:31 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-10-16 14:33:29 +0200
commitc67f46877c72d1c04cb643f33e820d86e64128d1 (patch)
treec728cac81271d779e2a106a294294871497b5359 /examples/widgets/mainwindows/menus
parent1dfc74970c8ab0bfc210b7038aad401189eae542 (diff)
macOS: Only send mouse press to input context if clicking input item
Our QNSView can represent many controls, not just the current input item, so we need to ensure the click happens inside the input item before we ask the input context to handle the event. This allows clicking controls such as buttons and check boxes while composing complex text, without cancelling or otherwise affecting the composition. Fixes: QTBUG-57347 Pick-to: 6.2 Change-Id: I8449c8d74fd21b1ee1d5bd75f960751b64d7e078 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/widgets/mainwindows/menus')
0 files changed, 0 insertions, 0 deletions