summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qunixnativeinterface.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <[email protected]>2021-09-08 15:28:04 +0200
committerVolker Hilsheimer <[email protected]>2021-09-13 16:43:06 +0200
commit8bb11d03370f687e9781c09a1e89531cdd7cd8ff (patch)
treeecff42c7a46e6a133499e17b45c58fcd9fe26a19 /src/gui/platform/unix/qunixnativeinterface.cpp
parent6ecd157487adb945ade530d9a6e3d44eac7b445e (diff)
macOS: don't replay mouse presses that closed a popup
On macOS, we only follow the native behavior to not replay mouse presses outside of a popup because we close popups in the QPA plugin before any popup-specific logic in QApplication kicks in, so a press that closed a popup is never seen by Qt at all. Before we can remove the popup closing code from the QPA plugin, implement the existing platform style hint for Cocoa to prevent mouse press replays. Change-Id: I2328f706ba148ece2d0e3fb4e71fe9123ab5e205 Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp')
0 files changed, 0 insertions, 0 deletions