resize-frame

Name

resize-frame -- Resize WIN to a size of W by H in pixels.

Synopsis

(resize-frame w h #&optional win x y)

Description

Resize win to a size of w by h in pixels. Also moves win to virtual coordinates x, y if both of them are specified. The size includes the window decorations. win defaults to the window context in the usual way if not specified. The resulting size of the frame may not be w by h due to rounding to the nearest acceptable size for the client window (e.g., Emacs windows can only be sizes that are multiples of the basic character size)

Implementation Notes

Module: Built-in Primitive

Defined in src/window.c at line 2423 (CVS log)