diff options
-rw-r--r-- | src/jalv_gtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jalv_gtk.c b/src/jalv_gtk.c index 4998137..b1c069a 100644 --- a/src/jalv_gtk.c +++ b/src/jalv_gtk.c @@ -801,6 +801,7 @@ jalv_open_ui(Jalv* jalv) gtk_container_add(GTK_CONTAINER(alignment), widget); gtk_window_set_resizable(GTK_WINDOW(window), jalv_ui_is_resizable(jalv)); gtk_widget_show_all(vbox); + gtk_widget_grab_focus(widget); } else { GtkWidget* controls = build_control_widget(jalv, window); GtkWidget* scroll_win = gtk_scrolled_window_new(NULL, NULL); |