[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 06/10: Fix not able to move focus horizontally in icon view.

noreply at xfce.org noreply at xfce.org
Tue Dec 31 11:39:55 CET 2019


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

g   o   t   t   c   o   d   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 1b01425807a4e4f26c89023079af03f71cb9f6c7
Author: Graeme Gott <graeme at gottcode.org>
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.


More information about the Xfce4-commits mailing list