DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 3585ef8376c1860d279bdd435315e6f840bf5dd9
parent 412c621b57c72370a03a697ee4d14fdee490ba37
Author: falkTX <falktx@gmail.com>
Date:   Fri, 24 Jan 2014 17:40:37 +0000

Misc

Diffstat:
Mdgl/src/pugl/pugl_osx_extended.m | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dgl/src/pugl/pugl_osx_extended.m b/dgl/src/pugl/pugl_osx_extended.m @@ -37,12 +37,11 @@ void puglImplSetSize(PuglView* view, unsigned int width, unsigned int height) id window = view->impl->window; NSRect frame = [window frame]; - frame.origin.y -= frame.size.height; - frame.origin.y += height; + frame.origin.y -= height - frame.size.height; frame.size.width = width; frame.size.height = height+20; - [window setFrame:frame display:YES animate:NO]; + [window setFrame:frame]; } void puglImplSetTitle(PuglView* view, const char* title)