location to store the screen that the cursor is on, or NULL. out[allow-none]
location to store root window X coordinate of pointer, or NULL. out[allow-none]
location to store root window Y coordinate of pointer, or NULL. out[allow-none]
location to store current modifier mask, or NULL. out[allow-none]
Gets the current location of the pointer and the current modifier mask for a given display. Since 2.2