On Jan 19, 2010, at 3:10 AM, IOhannes m zmoelnig wrote:
SourceForge.net wrote:
Message: Unfortunately, the shifting does happen on Pd-vanilla, just less so. There doesn't seem to be a way in Tcl/Tk to measure the size of the window frame of X11 windows. Different window managers will have different sizes of window frames. In 0.43 it was moving a lot since it didn't take into account the window frame at all. I added the measurements for GNOME/metacity, which should work well for a wide range of setups. Hopefully someone can figure out how to actually measure window frame.
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.
.hc
----------------------------------------------------------------------------
Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra