pub fn query_pointer<Conn>(
conn: &Conn,
window: Window,
) -> Result<Cookie<'_, Conn, QueryPointerReply>, ConnectionError>where
Conn: RequestConnection + ?Sized,Expand description
get pointer coordinates.
Gets the root window the pointer is logically on and the pointer coordinates relative to the root window’s origin.
§Fields
window- A window to check if the pointer is on the same screen aswindow(see thesame_screenfield in the reply).
§Errors
Window- The specifiedwindowdoes not exist.