diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2017-08-03 12:07:11 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2017-08-09 11:31:52 +0000 |
commit | c35fc435950437d3d046b17d06593873d7b82011 (patch) | |
tree | c5c1a6aa7730cd229c08c8111ae4ba7ad1311aa1 /src/widgets/widgets | |
parent | 37f3ed96eb6f41d2b9fc34f64725dd754bb627a8 (diff) |
macOS: Make alpha-based click-trough work again
Commit 3ea04c7d made it so that we always set the
ignoresMouseEvent property on the NSWindow, based
on the WindowTransparentForInput flag.
However, this overwrites the magical secret initial
state where click-trough is determined based on window
content transparency - setting the property to false
makes the window capture all events.
Restore 5.6 behavior by not modifying ignoresMouseEvent
if we can. Toggling WindowTransparentForInput on and
off again is still broken.
Task-number: QTBUG-54830
Change-Id: I5f44ce14d9a7dc1713f9efb1ef929e2969838d90
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/widgets')
0 files changed, 0 insertions, 0 deletions