mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST Host: Avoid sending unnecessary window size messages to non-DPI-aware plugins
Fixes an issue on Windows that caused superfluous HWND messages on DPI aware plugins that resulted in dismissing focused components.
This commit is contained in:
parent
603c98c9d1
commit
ea84e14be0
1 changed files with 2 additions and 2 deletions
|
|
@ -3262,10 +3262,9 @@ private:
|
|||
if (! isWindowSizeCorrectForPlugin (w, h))
|
||||
{
|
||||
updateSizeFromEditor (w, h);
|
||||
embeddedComponent.updateHWNDBounds();
|
||||
sizeCheckCount = 0;
|
||||
}
|
||||
|
||||
embeddedComponent.updateHWNDBounds();
|
||||
}
|
||||
|
||||
void checkPluginWindowSize()
|
||||
|
|
@ -3349,6 +3348,7 @@ private:
|
|||
|
||||
#if JUCE_WINDOWS
|
||||
r->resizeToFit();
|
||||
r->embeddedComponent.updateHWNDBounds();
|
||||
#endif
|
||||
r->componentMovedOrResized (true, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue