Next: Event Text Position Info, Previous: Frame-Level Event Position Info, Up: Accessing Mouse Event Positions
The following functions return window-level information about where a mouse event occurred.
Given a mouse motion, button press, button release, or misc-user event, compute and return the window on which that event occurred. This may be
nilif the event occurred in the border or over a toolbar. The modeline is considered to be within the window it describes.
Given a mouse motion, button press, button release, or misc-user event, compute and return the buffer of the window on which that event occurred. This may be
nilif the event occurred in the border or over a toolbar. The modeline is considered to be within the window it describes. This is equivalent to callingevent-windowand then callingwindow-bufferon the result if it is a window.