Why is XtGetValues of XmNx and XmNy of my toplevel shell wrong?
[Last modified: Oct 95] Answer: [Note: This answer is borrowed from the Xt FAQ, ftp://ftp.x.org/contrib/faqs/FAQ-Xt, devoted to X Toolkit Intrinsics.] XmNx and XmNy are the coordinates relative to your shell’s parent window, which is usually a window manager’s frame window. To translate to the root coordinate space, use XtTranslateCoords().