[Libreoffice-commits] core.git: vcl/source

Michael Meeks michael.meeks at collabora.com
Mon Aug 31 13:22:19 PDT 2015


 vcl/source/opengl/OpenGLHelper.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 59618d22a04ca441b19f388e48ae9b1c9dd8183c
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Aug 31 21:29:21 2015 +0100

    tdf#93822 - disable horror legacy menu background saving for OpenGL.
    
    Change-Id: Icaa5fb197f3fa234da4538a2a7b21131cab89277

diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index 3eb8514..9a28438 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -26,6 +26,8 @@
 #include <stdarg.h>
 #include <vector>
 
+#include "svdata.hxx"
+
 #include "opengl/zone.hxx"
 #include "opengl/watchdog.hxx"
 #include <osl/conditn.h>
@@ -627,7 +629,10 @@ bool OpenGLHelper::isVCLOpenGLEnabled()
         bRet = bEnable;
     }
     if (bRet)
+    {
         OpenGLWatchdogThread::start();
+        ImplGetSVData()->maWinData.mbNoSaveBackground = true;
+    }
 
     return bRet;
 }


More information about the Libreoffice-commits mailing list