Commit Graph

9 Commits (f31f7159b585690a4fed69e80c1559bb0556a6fc)

Author SHA1 Message Date
dscho 8bee4eb990 ANSIfy, fix some warnings from Linus' sparse 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 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 98b9663e29 the correct way to include rfb.h is now "#include <rfb/rfb.h>" 22 years ago
dscho 0f66740881 moved files to include; moved a file to examples/ 22 years ago
dscho ce2fdb720d new version of x11vnc from Karl Runge 22 years ago
dscho 4d87189420 compiler warnings, contrib directory, new x11vnc from Karl Runge 23 years ago