window-position

Name

window-position -- Return the position of WIN in pixels.

Synopsis

(window-position  #&optional win)

Description

Return the position of win in pixels. The position is returned as a list of the x coordinate and the y coordinate in pixels. If the window is sticky, the position will always be in the 0,0 viewport. win defaults to the window context in the usual way if not specified. See also window-viewport-position.

Implementation Notes

Module: Built-in Primitive

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