vcl/source/app/salvtables.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit 6d404f9ccad3ac6a7ffb83876ae7a656bc2d4547 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sun Feb 5 11:29:27 2023 +0100 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Feb 23 06:12:39 2023 +0000 make create_virtual_device not use a separate alpha layer so that the gtk and the normal path do the same thing Change-Id: I69bb7be98e5834b0f20db66a67b3c37cc9d09676 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146566 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 43a4b6305395..7c2f726a9b9b 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -661,9 +661,10 @@ OUString SalInstanceWidget::strip_mnemonic(const OUString& rLabel) const VclPtr<VirtualDevice> SalInstanceWidget::create_virtual_device() const { - // create with (annoying) separate alpha layer that LibreOffice itself uses - return VclPtr<VirtualDevice>::Create(*Application::GetDefaultDevice(), - DeviceFormat::WITH_ALPHA); + // create with no separate alpha layer like everything sane does + auto xRet = VclPtr<VirtualDevice>::Create(); + xRet->SetBackground(COL_TRANSPARENT); + return xRet; } void SalInstanceWidget::call_attention_to()