Commit Graph

11 Commits (1bb36df34ea25a3379b5232154a55e4da489ab60)

Author SHA1 Message Date
runge 1bb36df34e libvncserver/main.c: fix memory leak in rfbDoCopyRect/rfbScheduleCopyRect; configure.ac tweaks. 21 years ago
runge b8b96689bf add '-listen ipaddr' option 21 years ago
dscho 155f4c1053 fix disappearing cursor 21 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.
21 years ago
dscho 135767a93e fix comment 21 years ago
dscho 2cd3c824c6 return value of rfbProcessEvents tells if an update was pending 21 years ago
dscho e78a41c69c add hook to allow for custom client messages 21 years ago
dscho 658b65ad0c support MinGW32! 21 years ago
dscho 97299606da global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
22 years ago
runge e3c8cddef9 x11vnc: view-only plain passwd: -viewpasswd and 2nd line of -passwdfile 22 years ago
dscho 876868553d move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago