Resize the window together with ConfigureNotify

This way we need less hacks and things can't get out of sync.
This commit is contained in:
Robbert van der Helm
2020-04-12 19:15:28 +02:00
parent e1cc342bd0
commit 3850e39777
3 changed files with 6 additions and 33 deletions
-10
View File
@@ -57,16 +57,6 @@ class Editor {
void close();
/**
* Resize the window to match the given size, if open.
*
* @param new_size The rectangle with the plugin's current position.
*
* @return Whether the resizing was succesful. Will return false if the
* editor isn't open.
*/
bool resize(const VstRect& new_size);
/**
* Embed the (open) window into a parent window.
*