commit 2a164ee6cb2fa228edd7248d597bf3e976dff4f4
parent 38af34b3de742b6778eb80d4020ff0e367ec9173
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Thu, 3 Mar 2022 21:28:52 +0100
If show/hide fails at least we can track it
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/clap/ext/gui.h b/include/clap/ext/gui.h
@@ -137,12 +137,12 @@ typedef struct clap_plugin_gui {
// Show the window.
// [main-thread]
- void (*show)(const clap_plugin_t *plugin);
+ CLAP_NODISCARD bool (*show)(const clap_plugin_t *plugin);
// Hide the window, this method do not free the resources, it just hides
// the window content. Yet it maybe a good idea to stop painting timers.
// [main-thread]
- void (*hide)(const clap_plugin_t *plugin);
+ CLAP_NODISCARD bool (*hide)(const clap_plugin_t *plugin);
} clap_plugin_gui_t;
typedef struct clap_host_gui {