diff options
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/presenter/PresenterWindowManager.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index 02e409aae9aa..557b4f94f5dc 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -108,6 +108,7 @@ void SAL_CALL PresenterWindowManager::disposing() { (*iPane)->mxBorderWindow->removeWindowListener(this); (*iPane)->mxBorderWindow->removeFocusListener(this); + (*iPane)->mxBorderWindow->removeMouseListener(this); } } } @@ -306,7 +307,11 @@ void SAL_CALL PresenterWindowManager::mousePressed (const css::awt::MouseEvent& void SAL_CALL PresenterWindowManager::mouseReleased (const css::awt::MouseEvent& rEvent) throw(css::uno::RuntimeException, std::exception) { - (void)rEvent; + if (mbIsMouseClickPending) + { + mbIsMouseClickPending = false; + mpPresenterController->HandleMouseClick(rEvent); + } } void SAL_CALL PresenterWindowManager::mouseEntered (const css::awt::MouseEvent& rEvent) |