Re: How to hide the pointer(mouse) when it's idle ?

On Thu, 29 Jan 2009 20:57:41 +0800 Wang Lei <wanglei 198112 gmail com> wrote:

> I'm going to write a function to hide the pointer when it's idle.
> 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 -

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]