Is it possible to get the mwm*frameBorderWidth from mwm in code? I need to be able to center a window relative to another window, and the frame border is messing things up a bit.
Any ideas?
Thanks.
‹ Window Positioning want to reduce size of an Icon ›
Wed, 08/01/2012 - 15:26
#1
mwm*frameBorderWidth
Try to get frame's window of your shell widget's window with XQueryTree(). Then get its size with XGetGeometry() and compare the frame's size with the size of shell widget's window.