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

New commits:
commit 93b65fc92f1ffc20501a51839bc5b0f4f55442a5
Author: Jan Holesovsky <ke...@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/ChildProcessSession.cpp b/loolwsd/ChildProcessSession.cpp
index cd763bb..d7c91c5 100644
--- a/loolwsd/ChildProcessSession.cpp
+++ b/loolwsd/ChildProcessSession.cpp
@@ -1098,7 +1098,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
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to