Hans-Christoph Steiner wrote:
btw, have you had a look at the hack in the ::pdwindow::set_layout proc to measure the window decorations (though you deleted the code again)?
Yes, did you test that code? It only works on Windows from my tests and the docs I read. Something like that should exists for Windows, but that would go elsewhere, like init_for_platform.
i only tested it on linux (xfce4), and it seemed to return reasonable values.
mgfasdr IOhannes