wok view unclutter/description.txt @ rev 19726

testdisk: simplify some initializations
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 16 18:55:42 2017 +0100 (2017-02-16)
parents
children
line source
1 unclutter is a program which runs permanently in the background of an X11
2 session. It checks on the X11 pointer (cursor) position every few seconds, and
3 when it finds it has not moved (and no buttons are pressed on the mouse, and
4 the cursor is not in the root window) it creates a small sub-window as a child
5 of the window the cursor is in. The new window installs a cursor of size 1x1
6 but a mask of all 0, ie an invisible cursor. This allows you to see all the
7 text in an xterm or xedit, for example. The human factors crowd would agree it
8 should make things less distracting.
10 Once created, the program waits for the pointer to leave the window and then
11 destroys it, restoring the original situation. Button events are passed
12 transparently through to the parent window. They will usually cause the cursor
13 to reappear because an active grab will be made by the program while the button
14 is down, so the pointer will apparently leave the window, even though its x y
15 position doesnt change.
17 The first version of this program used a grab to remove the cursor.
18 This method is still available with a "-grab" option to the program.