xmousepos - Gets and prints the current mouse position
Contents
Description
xmousepos is a program that gets and prints the current mouse position in the window specified by
windowid or from the current window by default. The output has the form XYUV where
X - root x position
Y - root y position
U - mouse relative x position to the window.
V - mouse relative y position to the window.
Name
xmousepos - Gets and prints the current mouse position
See Also
pat2ppm(1), patextract(1), png2pat(1), rgb2pat(1), visgrep(1).
Synopsis
xmousepos[windowid]
