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

New commits:
commit 566ed41b408f72fcd3575c2ab23757a0e35ee655
Author: Jan Holesovsky <[email protected]>
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 ||
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to