Sets the size and/or position of a window.
Under X Windows, the size does not include a title bar or borders for a frame/dialog added by the window manager. However, the position corresponds to the actual top-left of the frame/dialog including window manager decorations.
See also get-size and get-position.
Caches resizes calls to avoid redundant computations.