diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-27 15:09:35 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-27 15:00:36 +0000 |
commit | 99ea437f7570ab59f186583f368398919db67c3a (patch) | |
tree | 49754d16be264835714cb0c9546f5781a72ca1f4 | |
parent | de4b758ff31f9e92dffb8fe3cf295a7d3c12f611 (diff) |
lokdocview: log postMouseEvent() arguments
Change-Id: Idd4db9259448d3dcf4e0820b8845a1ab395f0bff
Reviewed-on: https://gerrit.libreoffice.org/24427
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index d10eee8c2386..9d5f6567e756 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, |