Commit Graph

12 Commits (c17aef31ac3540a04707a7f14f04524cc76c93d0)

Author SHA1 Message Date
dscho 6dd263946e do not always include rfb/keysym.h 19 years ago
dscho 8bee4eb990 ANSIfy, fix some warnings from Linus' sparse 20 years ago
dscho 34f714bcdc socketInitDone -> socketState 20 years ago
dscho a84b3d072a pointerClient was still static.
do not make requestedRegion empty without reason.

the cursor handling for clients which don't handle CursorShape updates was
completely broken. It originally was very complicated for performance
reasons, however, in most cases it made performance even worse, because at
idle times there was way too much checking going on, and furthermore,
sometimes unnecessary updates were inevitable.

The code now is much more elegant: the ClientRec structure knows exactly
where it last painted the cursor, and the ScreenInfo structure knows where
the cursor shall be.

As a consequence there is no more rfbDrawCursor()/rfbUndrawCursor(), no more
dontSendFramebufferUpdate, and no more isCursorDrawn.  It is now possible to
have clients which understand CursorShape updates and clients which don't at
the same time.

rfbSetCursor no longer has the option freeOld; this is obsolete, as the cursor
structure knows what to free and what not.
20 years ago
dscho 97299606da global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
21 years ago
dscho 2a4a0f487e convert c++ comments to c comments 21 years ago
dscho 6e7aa909e9 fix usage of non-existent attribute buffer 21 years ago
dscho eeb2061dfb API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h get prefix "LIBVNCSERVER_" 22 years ago
dscho 13b358fed1 fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr should not be used in a library (use rfbLog instead) 22 years ago
dscho 47c481b7ca fixed LinuxVNC colours 22 years ago
dscho bd9e5747e5 added colourmapexample; fixed LinuxVNC to show the right colours 22 years ago
dscho 23f45bc764 included vncterm 22 years ago