clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 128217b9f4e4dcf22f535142f672ce90ee0034eb
parent 66d0998a4b5f3256f5f4e742987bc402538c349e
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Fri,  4 Mar 2022 21:35:50 +0100

More work on gui.h

Diffstat:
Minclude/clap/ext/gui.h | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/include/clap/ext/gui.h b/include/clap/ext/gui.h @@ -160,9 +160,12 @@ typedef struct clap_host_gui { * [main-thread] */ bool (*request_hide)(const clap_host_t *host); - // The plugin's floating window has been closed. + // The floating window has been closed, or the connection to the gui has been lost. + // + // If was_destroyed is true, then the host must call clap_plugin_gui->destroy() to acknowledge + // the gui destruction. // [main-thread] - void (*window_closed)(const clap_host_t *host); + void (*closed)(const clap_host_t *host, bool was_destroyed); } clap_host_gui_t; #ifdef __cplusplus