change the local mouse cursor

Tristan Richardson tjr "at" orl.co.uk
Wed, 03 Jun 1998 11:58:40 +0000


>>>>>> Kurt Seel <kseel "at" utcorp.com> writes:
>
> Is there any way to change the local mouse cursor (the dot) to
> something else? Like a crosshair?
> 

This is fairly easy in the X vncviewer.  Change line 222 from:

    attr.cursor = CreateDotCursor();

to

    attr.cursor = XCreateFontCursor(dpy, XC_crosshair);


Cheers

Tristan

+--------------------------------------------------------------------+
|  Tristan Richardson                 Email:  tjr "at" orl.co.uk          |
|  ORL                                  Tel:  +44 1223 343000        |
|  24a Trumpington Street               Fax:  +44 1223 313542        |
|  Cambridge, CB2 1QA, UK               WWW:  http://www.orl.co.uk/  |
+--------------------------------------------------------------------+
|          ORL - The Olivetti & Oracle Research Laboratory           |
+--------------------------------------------------------------------+