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-19 15:03:35 +0100
commit035a5a419b92bf00973d67755d32126c6a36d6fa (patch)
tree65e5ec9e5606c73d479c603d28d6406a43d40a77 /sd
parent20c08e47f7c156a4726194215b389f4d0b165904 (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/+/89015 Tested-by: Caolán McNamara <caolanm@redhat.com> 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 2c216f8806b3..638b405bdd09 100644
--- a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
+++ b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
@@ -363,7 +363,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());