From 74a77c23b230051156a351d9cd496b8e48b527b6 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Mon, 18 May 2020 19:28:07 -0700 Subject: [PATCH] Fixed needing to press down twice to get to the second entry --- src/wofi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wofi.c b/src/wofi.c index 17d6f83..9db05cb 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -1023,7 +1023,7 @@ static gint do_sort(GtkFlowBoxChild* child1, GtkFlowBoxChild* child2, gpointer d } static void select_first(void) { - GtkFlowBoxChild* child = gtk_flow_box_get_child_at_index(GTK_FLOW_BOX(inner_box), 0); + GtkFlowBoxChild* child = gtk_flow_box_get_child_at_index(GTK_FLOW_BOX(inner_box), 1); gtk_widget_grab_focus(GTK_WIDGET(child)); gtk_flow_box_select_child(GTK_FLOW_BOX(inner_box), GTK_FLOW_BOX_CHILD(child)); }