clap

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

commit 157b8099d58b6da45e4e8b72ad1bfa29caf65c77
parent 2e6615edf625b363315a48fa692fe77760035237
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Fri,  1 Apr 2022 16:17:47 +0200

Missing resize hints invalidation

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

diff --git a/include/clap/ext/gui.h b/include/clap/ext/gui.h @@ -172,6 +172,10 @@ typedef struct clap_plugin_gui { } clap_plugin_gui_t; typedef struct clap_host_gui { + // The host should call get_resize_hints() again. + // [thread-safe] + void (*resize_hints_changed)(const clap_host_t *host); + /* Request the host to resize the client area to width, height. * Return true if the new size is accepted, false otherwise. * The host doesn't have to call set_size().