diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2016-01-26 18:26:10 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-04-25 15:08:16 -0400 |
commit | 56c68bc8f97c3f184a4e463eb0e693bf21848856 (patch) | |
tree | 52cba54faaea122a8edd22c50a2a7c5f1ceeabe7 /src | |
parent | ea2d97106a6ac4aaba09a2628806797762c61722 (diff) | |
download | jalv-56c68bc8f97c3f184a4e463eb0e693bf21848856.tar.gz jalv-56c68bc8f97c3f184a4e463eb0e693bf21848856.tar.bz2 jalv-56c68bc8f97c3f184a4e463eb0e693bf21848856.zip |
Fix broken plugin <-> UI comm in jalv_console
Fixes broken plugin <-> UI communication in jalv_console when run on
top of showInterface (-s).
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_console.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c index ef02d8b..fdb3bde 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -157,6 +157,7 @@ jalv_process_command(Jalv* jalv, const char* cmd) int jalv_open_ui(Jalv* jalv) { + jalv->has_ui = true; const LV2UI_Idle_Interface* idle_iface = NULL; const LV2UI_Show_Interface* show_iface = NULL; if (jalv->ui && jalv->opts.show_ui) { @@ -172,6 +173,7 @@ jalv_open_ui(Jalv* jalv) // Drive idle interface until interrupted while (!zix_sem_try_wait(jalv->done)) { + jalv_update(jalv); if (idle_iface->idle(suil_instance_get_handle(jalv->ui_instance))) { break; } |