diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-09-27 17:34:38 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-10-01 01:20:15 +0200 |
commit | cb9970400d0bbd73e508f25a67e1ad2c7dd28eb6 (patch) | |
tree | 9f71bb36d6eb300e560170e3bd014f946a7a18a5 /sfx2/source/dialog | |
parent | 8b053a3c88c2b3e203856dbd9dabca6c935b0bde (diff) |
Wayland: Make various popups work in the overflow toolbar
Were failing to show, with this warning:
Gdk-WARNING **: Tried to map a popup with a non-top most parent
Change-Id: Ib68b5fc9b3edb3d25a23b66397c13833a4d080ac
Reviewed-on: https://gerrit.libreoffice.org/42936
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/charmappopup.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/charmappopup.cxx b/sfx2/source/dialog/charmappopup.cxx index 49c047dc7ee5..cbc62649cbc3 100644 --- a/sfx2/source/dialog/charmappopup.cxx +++ b/sfx2/source/dialog/charmappopup.cxx @@ -35,7 +35,7 @@ CharmapPopup::~CharmapPopup() VclPtr<SfxPopupWindow> CharmapPopup::CreatePopupWindow() { - VclPtr<SfxCharmapCtrl> pControl = VclPtr<SfxCharmapCtrl>::Create(GetSlotId(), m_xFrame); + VclPtr<SfxCharmapCtrl> pControl = VclPtr<SfxCharmapCtrl>::Create(GetSlotId(), &GetToolBox(), m_xFrame); pControl->StartPopupMode(&GetToolBox(), FloatWinPopupFlags::GrabFocus); |