[Libreoffice-commits] online.git: loolwsd/ChildProcessSession.cpp
Jan Holesovsky
kendy at collabora.com
Tue Feb 9 08:22:50 UTC 2016
loolwsd/ChildProcessSession.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 93b65fc92f1ffc20501a51839bc5b0f4f55442a5
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/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 ||
More information about the Libreoffice-commits
mailing list