Copyright (C) 2000-2012 |
GNU Info (sawfish.info)Pointer FunctionsPointer Functions ================= - Function: query-pointer &optional from-server Returns a cons cell `(X . Y)' representing the current mouse pointer position, relative to the origin of the root window. If FROM-SERVER is non-nil then the position is read directly from the server, otherwise it's taken from the current event (if possible). - Function: query-pointer-window Returns the top-level window under the mouse pointer, or `nil' if the cursor is in the root window. - Function: query-last-pointer Returns a cons cell `(X . Y)' representing the second most recent mouse pointer position, relative to the root window. - Function: warp-cursor x y Move the mouse pointer to position (X, Y) relative to the origin of the root window. - Function: warp-cursor-to-window window &optional x y Move the mouse pointer to position (X, Y) relative to the client window associated with object WINDOW. If X and Y are `nil', then they are taken as the top-left corner of the window's frame. automatically generated by info2www version 1.2.2.9 |