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

New commits:
commit ef8d3dbc1126923e1b08f528f0eab5b980d97876
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Feb 19 11:46:50 2020 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Feb 24 16:44:10 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>
    (cherry picked from commit 8130bd0bd25db1d9b0517b08c40640f3a96aea2b)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89281
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

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());
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to