I've got a DocumentWindow whose absolute position I want to save on exiting the app, and restore when restarting the app. Unfortunately, the restored window is always a bit lower on the screen than it was on exit, it seems to be the width of the titlebar.
My code does a "getScreenX()" etc on exit, and a setTopLeftPosition() on restore.
I tried to adjust for the width of the title bar, but because I'm using the 'native' title bar, the value JUCE gives me for the height of the bar is zero.
How is this meant to work?