
xfuncursor is a little fun programm which animate the root cursor.

usage: xfuncursor [options]
  where options are:
  -display <display>   or   -d <display>
  -fg <color>   or   -foreground <color>
  -bg <color>   or   -background <color>
  -cycle <int>
  -delta <int>
  -cursor <bitmap prefix name>
  -help

xfuncursor changes the cursor bitmap each time the pointer moves by delta pixels
(default 13).
It uses 4*cycle+1 (default cycle=2)  differents bitmaps and masks to
animate the cursor.
Their names are of the form : name.0 name.0.mask name.1 name.1.mask .... name.4*cycle
name.4*cycle.mask
You can always change the prefix name  with the -cursor name option.

To build it just set in the Imakefile the BITMAP variable to the absolute prefix path 
of the default bitmaps.
then :
xmkmf
make

4 sets of bitmaps are given with xfuncursor. So try :
xfuncursor -cursor pac/pac
or xfuncursor -cursor nose/nose
or xfuncursor -cursor mouse/mouse -cycle 1
or xfuncursor -cursor hand/hand -cycle 4

Most of the procedures to set the root cursor come from the xsetroot programm 
of Mark Lillibridge.

nose bitmaps come from the xnlock program


Thierry Leconte
leconte@irisa.fr
