diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-03-02 11:38:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-03-02 11:41:40 +0000 |
commit | 3a4b68260bc6c1e8bcb694f640c70652b830c621 (patch) | |
tree | 1844990a07475c45bdafdf05e47f4614e924dce0 | |
parent | 57d85c0e8d479fb3994b58265c44ac22fcd3a656 (diff) |
gtk3: menubar close button shouldn't get keyboard focus
Change-Id: I6ddd512afa1e41d2dec7c92f61d65ed5bbfa9ace
-rw-r--r-- | vcl/unx/gtk/gtksalmenu.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx index 5634922680e4..ff92eacfe5db 100644 --- a/vcl/unx/gtk/gtksalmenu.cxx +++ b/vcl/unx/gtk/gtksalmenu.cxx @@ -528,6 +528,7 @@ void GtkSalMenu::ShowCloseButton(bool bShow) gtk_button_set_relief(GTK_BUTTON(mpCloseButton), GTK_RELIEF_NONE); gtk_button_set_focus_on_click(GTK_BUTTON(mpCloseButton), false); + gtk_widget_set_can_focus(mpCloseButton, false); GtkStyleContext *pButtonContext = gtk_widget_get_style_context(GTK_WIDGET(mpCloseButton)); |