[Libreoffice-commits] core.git: desktop/source
Mihai Varga
mihai.varga at collabora.com
Mon Oct 5 09:05:25 PDT 2015
desktop/source/lib/lokandroid.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 944bb51dfe4b214bf6d7f9a4b9066728d0da51c7
Author: Mihai Varga <mihai.varga at collabora.com>
Date: Mon Oct 5 18:22:56 2015 +0300
LOK: add mouse button type and modifier on android
Change-Id: Iab1dca8736eb208e652b5d5dfc0c87c8029679da
Reviewed-on: https://gerrit.libreoffice.org/19159
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/desktop/source/lib/lokandroid.cxx b/desktop/source/lib/lokandroid.cxx
index bb1813d..1db7945 100644
--- a/desktop/source/lib/lokandroid.cxx
+++ b/desktop/source/lib/lokandroid.cxx
@@ -11,6 +11,7 @@
#include <jni.h>
#include <sal/types.h>
+#include <vcl/event.hxx>
#include <android/log.h>
@@ -279,7 +280,7 @@ extern "C" SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_postMou
(JNIEnv* pEnv, jobject aObject, jint type, jint x, jint y, jint count)
{
LibreOfficeKitDocument* pDocument = getHandle<LibreOfficeKitDocument>(pEnv, aObject);
- pDocument->pClass->postMouseEvent(pDocument, type, x, y, count);
+ pDocument->pClass->postMouseEvent(pDocument, type, x, y, count, MOUSE_LEFT, 0);
}
extern "C" SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_postUnoCommand
More information about the Libreoffice-commits
mailing list