Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Mimicking UNIX Eyesby gmargo (Hermit) |
on Dec 17, 2009 at 23:35 UTC ( [id://813297]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|