[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - vcl/source

Michael Meeks michael.meeks at collabora.com
Tue Sep 1 00:02:46 PDT 2015


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

New commits:
commit bce18e962dacdf6246123493690aa4b942568d10
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
    Reviewed-on: https://gerrit.libreoffice.org/18203
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index 958d523..859cda3 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>
@@ -629,7 +631,10 @@ bool OpenGLHelper::isVCLOpenGLEnabled()
         bRet = bEnable;
     }
     if (bRet)
+    {
         OpenGLWatchdogThread::start();
+        ImplGetSVData()->maWinData.mbNoSaveBackground = true;
+    }
 
     return bRet;
 }


More information about the Libreoffice-commits mailing list