sd/source/ui/slidesorter/controller/SlideSorterController.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8130bd0bd25db1d9b0517b08c40640f3a96aea2b
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Feb 19 11:46:50 2020 +0000
Commit:     Xisco Faulí <xiscofa...@libreoffice.org>
CommitDate: Mon Feb 24 12:46:58 2020 +0100

    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í <xiscofa...@libreoffice.org>

diff --git a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx 
b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
index 0d1c019229e9..0d927b0d263f 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());
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to