This is an automated email from the git hooks/post-receive script.

gottcode pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 1b01425807a4e4f26c89023079af03f71cb9f6c7
Author: Graeme Gott <[email protected]>
Date:   Tue Dec 24 07:54:05 2019 -0500

    Fix not able to move focus horizontally in icon view.
---
 panel-plugin/window.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/window.cpp b/panel-plugin/window.cpp
index 23b16ee..481addb 100644
--- a/panel-plugin/window.cpp
+++ b/panel-plugin/window.cpp
@@ -833,7 +833,7 @@ gboolean WhiskerMenu::Window::on_key_press_event(GtkWidget* 
widget, GdkEvent* ev
        // Allow keyboard navigation out of treeview
        if ((key_event->keyval == GDK_KEY_Left) || (key_event->keyval == 
GDK_KEY_Right))
        {
-               if ((widget == view) || (gtk_window_get_focus(m_window) == 
view))
+               if (GTK_IS_TREE_VIEW(view) && ((widget == view) || 
(gtk_window_get_focus(m_window) == view)))
                {
                        
gtk_widget_grab_focus(GTK_WIDGET(m_favorites_button->get_button()));
                        page->reset_selection();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to