Commit Graph

13 Commits (7101d427d5aba38c4e488ae567a2ca754a5fbfab)

Author SHA1 Message Date
dscho 8bee4eb990 ANSIfy, fix some warnings from Linus' sparse 20 years ago
dscho 6273f2065a implemented Floyd-Steinberg dither in order to rfbMakeMaskFromAlphaSource 20 years ago
dscho cafeb40fed disappearing cursor fixed & debug message purged 20 years ago
dscho 155f4c1053 fix disappearing cursor 20 years ago
dscho 47646a200f redraw region under old cursor even if the old cursor doesn't have to be freed. 20 years ago
dscho 81ac5600be oops, a debug message slipped through 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
runge b58e460fac add cursor alphablending to rfb.h cursor.c, x11vnc -alphablend -snapfb etc.. 20 years ago
runge 2cc1b1d3e7 x11vnc: synchronous mode for -remote, string cleanup 20 years ago
dscho f28038b28a don't mix up width & height! 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 fefcb9188a fix cursor trails (when not using cursor encoding and moving the cursor,
the redrawn part of the screen didn't get updated, and so left cursor trails).
21 years ago
dscho 876868553d move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago