[PD-dev] [ pure-data-Bugs-2933148 ] [pd-gui-rewrite] 'vis 1' to canvas moves window

IOhannes m zmoelnig zmoelnig at iem.at
Tue Jan 19 09:10:16 CET 2010


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)?


fmasdr
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20100119/14291ae8/attachment.bin>


More information about the Pd-dev mailing list