That is an excellent idea, so I did just that. The source is included in the x11-apps package. I got the 8.04/hardy source http://packages.ubuntu.com/hardy/x11-apps.
My crude analysis is that xeyes polls the mouse position. It polls frequently when there is mouse activity but then backs off on the polling interval when there is no activity. There is no hook into a mouse handler.
In reply to Re^2: Mimicking UNIX Eyes
by gmargo
in thread Mimicking UNIX Eyes
by merrymonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |