summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qbezier.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2019-03-26 13:41:06 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2019-05-08 12:24:19 +0000
commit19d13f8b2d966b09547a975e81f6f99f956df608 (patch)
tree3cad95d32c490e5c25ac7cded19bf9b7b3b20d04 /src/gui/painting/qbezier.cpp
parent9054950b7c51cc0d07040eb112ff7ce75e635abd (diff)
macOS: Deliver and handle screen change unconditionally
We can't rely on the previous screen and current screen to accurately reflect whether or not the window has been moved from one screen to another, or if the window just stayed on the same screen but the screen was reconfigured by macOS. The reasons for this are many-fold, but include factors such as Qt using the screen of the top level window to resolve the screen of the child windows, and AppKit delivering screen change events in an order that makes things harder to track. The result is that we need to always send screen change events, for all windows, including child windows, and we also need to restart the display link by re-requesting an update request if needed, so that child windows that are running animations will continue to animate on the new screen. Change-Id: I0b87849c41323e92c08f5115842be067fa8f8490 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/gui/painting/qbezier.cpp')
0 files changed, 0 insertions, 0 deletions