diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-08-21 16:37:16 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-08-22 02:15:35 +0200 |
commit | ee82f866152a27ef7a0d69f3aa41608d4a058610 (patch) | |
tree | e59731023441d70ec6e7051595d8c1c6bafce2ad /src/printsupport | |
parent | c4aa90cb566a58ce3e2a18de134b83d0a959fed2 (diff) |
macOS: Don't ask for a NSWindow background unless we need one
This allow halfway transparent windows, even with a border, which is
a bit of a weird use-case, but matches what we do on other platforms.
We don't need the explicit call to NSDrawWindowBackground in the
QNSWindowBackingStore implementation, as the NSThemeFrame will draw
this background on our behalf.
Fixes: QTBUG-77637
Change-Id: I012d845fa957c40aa713adaecbb1601a848e3534
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/printsupport')
0 files changed, 0 insertions, 0 deletions