summaryrefslogtreecommitdiff
path: root/vcl/source/window/event.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r--vcl/source/window/event.cxx7
1 files changed, 5 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();