diff --git a/src/wofi.c b/src/wofi.c index 55e84e8..0d9220c 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -467,7 +467,7 @@ void wofi_init(struct map* config) { pthread_t thread; pthread_create(&thread, NULL, start_thread, mode); - gtk_widget_grab_focus(entry); + gtk_widget_grab_focus(scroll); gtk_window_set_title(GTK_WINDOW(window), prompt); gtk_widget_show_all(window); }