vcl/unx/gtk3/gtk3gtkframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 59e370f65369f345e8c505bb0b156d53d4b83acc Author: Caolán McNamara <caol...@redhat.com> Date: Tue Jul 25 13:59:33 2017 +0100 Resolves: tdf#104368 allow toolbars to have keyboard focus note that there aren't any floating dockable toolbars available under wayland, just X so export GDK_BACKEND=x11 to get gtk's X backend under wayland Change-Id: I07e345a00f8fef4c40dcaf208e3438783f8f280e diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx index a329001fe471..0a87284b504d 100644 --- a/vcl/unx/gtk3/gtk3gtkframe.cxx +++ b/vcl/unx/gtk3/gtk3gtkframe.cxx @@ -1258,7 +1258,7 @@ void GtkSalFrame::Init( SalFrame* pParent, SalFrameStyleFlags nStyle ) else if( (nStyle & SalFrameStyleFlags::OWNERDRAWDECORATION) ) { eType = GDK_WINDOW_TYPE_HINT_TOOLBAR; - gtk_window_set_accept_focus(GTK_WINDOW(m_pWindow), false); + gtk_window_set_focus_on_map(GTK_WINDOW(m_pWindow), false); gtk_window_set_decorated(GTK_WINDOW(m_pWindow), false); } gtk_window_set_type_hint( GTK_WINDOW(m_pWindow), eType );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits