mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-23 20:37:27 +02:00
Print a message when ignoring resize requests
This commit is contained in:
@@ -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());
|
self->bridge_.editor_size(self->owner_instance_id());
|
||||||
current_size && current_size->width == width &&
|
current_size && current_size->width == width &&
|
||||||
current_size->height == height) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user