summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2023-11-06 23:56:57 +0100
committerLászló Németh <nemeth@numbertext.org>2023-11-07 07:16:01 +0100
commit698935c220131bc761eb9cf25e01fa91087a788e (patch)
tree2766a2e0806063e20d06c78687b09cb1d96a9306 /vcl/source/control
parentc662c66829187e5e1ccf6cba752928b7056a4cab (diff)
tdf#152155 vcl: fix gtk popup listbox positions on sidebar
It was fixed only on Wayland previously. Follow-up to commit 15cdee0d846854b50dd04626b73499bef9305e00 "Resolves: tdf#152155 use gtk's knowledge of relative widget positions". Change-Id: I7a8b17189b319146142a2193ec4b5ec41e2c2d27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159020 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/imp_listbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx
index 04919ca26f20..bb4da51859b0 100644
--- a/vcl/source/control/imp_listbox.cxx
+++ b/vcl/source/control/imp_listbox.cxx
@@ -3011,7 +3011,7 @@ void ImplListBoxFloatingWindow::StartFloat( bool bStartTracking )
pGrandparentOutDev->ReMirror( aRect );
// mouse-button right: close the List-Box-Float-win and don't stop the handling fdo#84795
- StartPopupMode( aRect, FloatWinPopupFlags::Down | FloatWinPopupFlags::NoHorzPlacement | FloatWinPopupFlags::AllMouseButtonClose );
+ StartPopupMode( aRect, LISTBOX_FLOATWINPOPUPFLAGS );
if( nPos != LISTBOX_ENTRY_NOTFOUND )
mpImplLB->ShowProminentEntry( nPos );