XMOUSEPOS(1) General Commands Manual XMOUSEPOS(1)

xmousepos - Gets and prints the current mouse position

xmousepos [windowid]

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 X Y U V where

- root x position
- root y position
- mouse relative x position to the window.
- mouse relative y position to the window.

pat2ppm(1), patextract(1), png2pat(1), rgb2pat(1), visgrep(1).

xmousepos was written by Steve Slaven <bpk@hoopajoo.net>.

This manual page was written by Kapil Hari Paranjape <kapil@debian.org>, for the Debian project (but may be used by others).

15 December 2007