path: root/src/widgets/kernel/qdesktopwidget.cpp
diff options
authorTor Arne Vestbø <>2017-08-14 14:25:01 +0200
committerTor Arne Vestbø <>2017-08-18 13:10:21 +0000
commit52ad5afe1c1d8f8d47fccbdf474f8c6119b94608 (patch)
treef7373601889f66af34f02c5cfaadfebfe800f05f /src/widgets/kernel/qdesktopwidget.cpp
parentdfdb94410a3b77381f20e426a2420065be9631f9 (diff)
macOS: Redraw window bottom corners after synchronous backing store flush
Flushing outside of the display cycle does not care about any ordering between views, including the NSThemeFrame responsible for drawing the rounded corners of the window. Since Qt Widgets is doing a lot of synchronous flushing (for now, until we plumb update() to requestUpdate(), or enable layer-backing), we add a workaround that explicitly draws the corners after flushing, just like the logic in [NSView displayIfNeeded]. This is the same workaround used by WebKit: Change-Id: I884152cdb2685569704e577b64b5ae278ed82c21 Reviewed-by: Morten Johan Sørvig <> Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'src/widgets/kernel/qdesktopwidget.cpp')
0 files changed, 0 insertions, 0 deletions