mwm*frameBorderWidth

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
mwm*frameBorderWidth

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 ›

Yuriy Syrota

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.