From 790705937ffc11cb4515b2f37c442cdc2da73510 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 19 Jun 2018 13:50:23 -0300 Subject: [PATCH] Fix compilation error in non-Windows platforms --- src/she/skia/skia_display.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/she/skia/skia_display.cpp b/src/she/skia/skia_display.cpp index dfa89a4c5..3e7f9b8de 100644 --- a/src/she/skia/skia_display.cpp +++ b/src/she/skia/skia_display.cpp @@ -187,7 +187,9 @@ void SkiaDisplay::setLayout(const std::string& layout) void SkiaDisplay::setInterpretOneFingerGestureAsMouseMovement(bool state) { +#ifdef _WIN32 m_window.setInterpretOneFingerGestureAsMouseMovement(state); +#endif } void SkiaDisplay::setTranslateDeadKeys(bool state)