Commit Graph

64 Commits (453645a6ea71e79951d95f9658f7a751e4a62338)

Author SHA1 Message Date
runge be5b1296e4 libvncserver/{main.c,rfbserver.c}: fix a couple more CopyRect memory leaks 20 years ago
dscho 446a6fabac fix memory leaks detected using valgrind 20 years ago
dscho 34f714bcdc socketInitDone -> socketState 20 years ago
dscho 6602a22f2b clear requested region after handling it 20 years ago
dscho 914f7b71c5 10l: really fix preferredEncoding set from outside 20 years ago
dscho 155f4c1053 fix disappearing cursor 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 a87e288f09 close socket in ClientConnectionGone 20 years ago
dscho e78a41c69c add hook to allow for custom client messages 20 years ago
dscho 28d09a73ce release client list mutex earlier 21 years ago
dscho 97299606da global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
21 years ago
dscho 6bda09f03c fix CoRRE with maxRectsPerUpdate bug 21 years ago
runge e3c8cddef9 x11vnc: view-only plain passwd: -viewpasswd and 2nd line of -passwdfile 21 years ago
dscho 876868553d move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago