vcl/unx/gtk3/gtksalmenu.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 41a3620e51726fac1419df77f87113cb32e9981a Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Tue Jul 25 21:02:28 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Jul 26 10:28:38 2023 +0200 add code pointer to comment Change-Id: If61d6bcc9703e6a8359fc3e51af4c1516b64a87d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154902 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/unx/gtk3/gtksalmenu.cxx b/vcl/unx/gtk3/gtksalmenu.cxx index a85bffa79c6e..adcc9c8d485c 100644 --- a/vcl/unx/gtk3/gtksalmenu.cxx +++ b/vcl/unx/gtk3/gtksalmenu.cxx @@ -534,8 +534,9 @@ bool GtkSalMenu::ShowNativePopupMenu(FloatingWindow* pWin, const tools::Rectangl nTime = GtkSalFrame::GetLastInputEventTime(); } - // do the same strange semantics as vcl popup windows to arrive at a frame geometry - // in mirrored UI case; best done by actually executing the same code + // Do the same strange semantics as vcl popup windows to arrive at a frame geometry + // in mirrored UI case; best done by actually executing the same code. + // (see code in FloatingWindow::StartPopupMode) sal_uInt16 nArrangeIndex; Point aPos = FloatingWindow::ImplCalcPos(pWin, rRect, nFlags, nArrangeIndex); aPos = FloatingWindow::ImplConvertToAbsPos(xParent, aPos);