Print a message when ignoring resize requests

This commit is contained in:
Robbert van der Helm
2022-10-09 14:25:03 +02:00
parent 24e50a3afc
commit 9a92a0c914
@@ -228,6 +228,9 @@ bool CLAP_ABI clap_host_proxy::ext_gui_request_resize(const clap_host_t* host,
self->bridge_.editor_size(self->owner_instance_id());
current_size && current_size->width == width &&
current_size->height == height) {
std::cerr << "WARNING: The plugin tried to request a resize to its "
"current size, ignoring the request"
<< std::endl;
return true;
}