diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2018-06-12 02:26:28 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2018-06-14 00:46:36 +0200 |
commit | c3e552ac25be001a623469c549ee8d0719b98133 (patch) | |
tree | 624f73b7e15e93af22066a72917621ed9eefd69d /include/vcl/toolbox.hxx | |
parent | 2bfc4cefc21ab18e9ff7cc5fdc743bcc856d103c (diff) |
wayland: Make popup menus not show off-screen
Depends on gtk 3.22 for gtk_menu_popup_at_rect.
Had to rework the toolbar context menu to not execute async,
as otherwise it just closes immediately. (Basically it's same
as rhbz#1342823, except that I couldn't find a way to feed
gtk_menu_popup_at_rect with the correct timestamp).
Change-Id: I779d8803c80314d93a342f1294c7280f1adf4c98
Reviewed-on: https://gerrit.libreoffice.org/55772
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'include/vcl/toolbox.hxx')
-rw-r--r-- | include/vcl/toolbox.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index 7944fd950a82..58bf32bb0e26 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -210,7 +210,6 @@ private: SAL_DLLPRIVATE bool ImplHasExternalMenubutton(); SAL_DLLPRIVATE void ImplDrawFloatwinBorder(vcl::RenderContext& rRenderContext, ImplToolItem const * pItem ); - DECL_DLLPRIVATE_LINK( ImplCallExecuteCustomMenu, void*, void ); DECL_DLLPRIVATE_LINK( ImplUpdateHdl, Timer*, void ); DECL_DLLPRIVATE_LINK( ImplCustomMenuListener, VclMenuEvent&, void ); DECL_DLLPRIVATE_LINK( ImplDropdownLongClickHdl, Timer*, void ); |