diff options
author | David Robillard <d@drobilla.net> | 2013-02-22 21:22:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-22 21:22:01 +0000 |
commit | 27fde6a51fab24a3667e3975d97f3d5acad1b6e9 (patch) | |
tree | 3c3768599a82a4582c2cb212e09c44ad65d5d8e0 | |
parent | 74feb92b4caa5e750023dadfb703c8d1bc12ce32 (diff) | |
download | jalv-27fde6a51fab24a3667e3975d97f3d5acad1b6e9.tar.gz jalv-27fde6a51fab24a3667e3975d97f3d5acad1b6e9.tar.bz2 jalv-27fde6a51fab24a3667e3975d97f3d5acad1b6e9.zip |
Fix key events for X11 in Gtk.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5064 a436a847-0d15-0410-975c-d299462d15a1
-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); |