diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-16 14:28:00 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-21 07:30:21 +0200 |
commit | c9ebc92a1ebd48ad96ee5ca527c250489cb4ec27 (patch) | |
tree | af58334617e9feb7714aba06a4d06117075718e9 /libreofficekit | |
parent | a04b31c9facb08a8e38b79480b9a73bd2693cb9e (diff) |
LOK: allow postMouseEvent() in multiple views
Change-Id: Iafb08cb44a96dbc03d12367d21b4120063bd0222
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 25f1c48eb37b..ee9ab9f34a59 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -1197,6 +1197,7 @@ postMouseEventInThread(gpointer data) LOKDocViewPrivate *priv = static_cast<LOKDocViewPrivate*>(lok_doc_view_get_instance_private (pDocView)); LOEvent* pLOEvent = static_cast<LOEvent*>(g_task_get_task_data(task)); + priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId); priv->m_pDocument->pClass->postMouseEvent(priv->m_pDocument, pLOEvent->m_nPostMouseEventType, pLOEvent->m_nPostMouseEventX, |