> Offset of 8 between the Tk and XGetWindowAttributes size query methods... not 
> sure why, probably somehow related to the border around the dm area…

Possibly the border.  The XGetWindowAttributes() call has a border_width 
property in the struct XWindowAttributes and an associated event if the window 
manager requests it be set.  That width should vary from window manager to 
window manager (has traditionally been zero, so the -8 will be a bug).  This 
seems to indicate that Tk lets you get at the border_width property:

https://www.tcl.tk/man/tcl8.4/TkCmd/bind.htm

Cheers!
Sean


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to