[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-7' - loolwsd/LOOLSession.cpp

Jan Holesovsky kendy at collabora.com
Tue Feb 9 08:19:17 UTC 2016


 loolwsd/LOOLSession.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 566ed41b408f72fcd3575c2ab23757a0e35ee655
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Tue Feb 9 09:14:16 2016 +0100

    loolwsd: For the legacy loleaflet, default to the left button pressed.

diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp
index 5dcbd65..a77df51 100644
--- a/loolwsd/LOOLSession.cpp
+++ b/loolwsd/LOOLSession.cpp
@@ -1594,7 +1594,7 @@ bool ChildProcessSession::mouseEvent(const char* /*buffer*/, int /*length*/, Str
     bool success = true;
 
     // default values for compatibility reasons with older loleaflets
-    int buttons = 0;
+    int buttons = 1; // left button
     int modifier = 0;
 
     if (tokens.count() < 5 ||


More information about the Libreoffice-commits mailing list