It is great! Thanks you two.
On 1/29/09, Vegard Vesterheim <[email protected]> wrote: > On Thu, 29 Jan 2009 20:57:41 +0800 Wang Lei <[email protected]> > wrote: > >> I'm going to write a function to hide the pointer when it's idle. >> >> FUNCTIONALITY: >> When the mouse has been idle for N secs, save the current position, >> then move it to the corner of the focused window.When the mouse moves >> again, I want it start from saved position. >> >> But there is a problem. I wanted to find something like >> pointer-motion-hook, but it doesn't exist. How can I know when the >> mouse starts moving? > > The unclutter program does this, and is independent of window manager. > > - Vegard V - > -- Regards Lei
