From 56c68bc8f97c3f184a4e463eb0e693bf21848856 Mon Sep 17 00:00:00 2001 From: Hanspeter Portner Date: Tue, 26 Jan 2016 18:26:10 +0100 Subject: Fix broken plugin <-> UI comm in jalv_console Fixes broken plugin <-> UI communication in jalv_console when run on top of showInterface (-s). --- src/jalv_console.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; } -- cgit v1.2.1