[Libreoffice-commits] core.git: libreofficekit/source
Miklos Vajna
vmiklos at collabora.co.uk
Wed Apr 27 15:01:03 UTC 2016
libreofficekit/source/gtk/lokdocview.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 99ea437f7570ab59f186583f368398919db67c3a
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Apr 27 15:09:35 2016 +0200
lokdocview: log postMouseEvent() arguments
Change-Id: Idd4db9259448d3dcf4e0820b8845a1ab395f0bff
Reviewed-on: https://gerrit.libreoffice.org/24427
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index d10eee8..9d5f656 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -1762,6 +1762,14 @@ postMouseEventInThread(gpointer data)
LOEvent* pLOEvent = static_cast<LOEvent*>(g_task_get_task_data(task));
priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId);
+ std::stringstream ss;
+ ss << "lok::Document::postMouseEvent(" << pLOEvent->m_nPostMouseEventType;
+ ss << ", " << pLOEvent->m_nPostMouseEventX;
+ ss << ", " << pLOEvent->m_nPostMouseEventY;
+ ss << ", " << pLOEvent->m_nPostMouseEventCount;
+ ss << ", " << pLOEvent->m_nPostMouseEventButton;
+ ss << ", " << pLOEvent->m_nPostMouseEventModifier << ")";
+ g_info("%s", ss.str().c_str());
priv->m_pDocument->pClass->postMouseEvent(priv->m_pDocument,
pLOEvent->m_nPostMouseEventType,
pLOEvent->m_nPostMouseEventX,
More information about the Libreoffice-commits
mailing list