summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/event.cxx7
-rw-r--r--vcl/source/window/status.cxx3
2 files changed, 8 insertions, 2 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx
index c8c6b730e1dd..f962b57c209f 100644
--- a/vcl/source/window/event.cxx
+++ b/vcl/source/window/event.cxx
@@ -22,6 +22,7 @@
#include <vcl/dockwin.hxx>
#include <vcl/layout.hxx>
#include <vcl/opengl/OpenGLWrapper.hxx>
+#include <vcl/skia/SkiaHelper.hxx>
#include <sal/log.hxx>
#include <window.h>
@@ -517,10 +518,12 @@ void Window::ImplCallResize()
#if HAVE_FEATURE_OPENGL
if( OpenGLWrapper::isVCLOpenGLEnabled() )
Invalidate();
-
- // Normally we avoid blanking on re-size unless people might notice:
else
#endif
+ if( SkiaHelper::isVCLSkiaEnabled() ) // TODO
+ Invalidate();
+ // Normally we avoid blanking on re-size unless people might notice:
+ else
if( GetBackground().IsGradient() )
Invalidate();
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index 61c17df48dab..deb552f8d4a8 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -30,6 +30,7 @@
#if HAVE_FEATURE_OPENGL
#include <vcl/opengl/OpenGLWrapper.hxx>
#endif
+#include <vcl/skia/SkiaHelper.hxx>
#include <svdata.hxx>
#include <window.h>
@@ -723,6 +724,8 @@ void StatusBar::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle
if( OpenGLWrapper::isVCLOpenGLEnabled() )
bOffscreen = false;
#endif
+ if( SkiaHelper::isVCLSkiaEnabled() ) // TODO
+ bOffscreen = false;
if (!bOffscreen)
rRenderContext.Erase(rRect);