summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-19 11:46:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-02-24 16:44:10 +0100
commitef8d3dbc1126923e1b08f528f0eab5b980d97876 (patch)
tree926c3fa523d9e918914fce292ef6de9d23e08f05 /sd
parent3c10f574cd342bfdb6b11ea9bb89849c978dab5e (diff)
Resolves: tdf#129446 explicitly pass the mouse event window
instead of letting it pick the main-window as the event window Change-Id: I953968025717ac5ba6f41e8f2db90c9f4d24800f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88954 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org> (cherry picked from commit 8130bd0bd25db1d9b0517b08c40640f3a96aea2b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89281 Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/controller/SlideSorterController.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
index bb4f44ce0649..eda20c8edb7a 100644
--- a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
+++ b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
@@ -375,7 +375,7 @@ bool SlideSorterController::Command (
if (!rEvent.IsMouseEvent())
pDispatcher->ExecutePopup(aPopupId, pWindow, &aMenuLocation);
else
- pDispatcher->ExecutePopup(aPopupId);
+ pDispatcher->ExecutePopup(aPopupId, pWindow);
mbContextMenuOpen = false;
mrSlideSorter.GetView().UpdatePageUnderMouse();
::rtl::Reference<SelectionFunction> pFunction(GetCurrentSelectionFunction());