From 34fc97a52add15a0b3060fac23bad6bc5324403a Mon Sep 17 00:00:00 2001 From: dscho Date: Wed, 21 Jan 2004 15:25:41 +0000 Subject: add "-progressive height" option to make SendFramebufferUpdate "preemptive" --- rfb/rfb.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'rfb/rfb.h') diff --git a/rfb/rfb.h b/rfb/rfb.h index a571235..d472684 100644 --- a/rfb/rfb.h +++ b/rfb/rfb.h @@ -274,7 +274,13 @@ typedef struct _rfbScreenInfo rfbBool backgroundLoop; #endif + /* if TRUE, an ignoring signal handler is installed for SIGPIPE */ rfbBool ignoreSIGPIPE; + + /* if not zero, only a slice of this height is processed every time + * an update should be sent. This should make working on a slow + * link more interactive. */ + int progressiveSliceHeight; } rfbScreenInfo, *rfbScreenInfoPtr; @@ -469,6 +475,9 @@ typedef struct _rfbClientRec { void* zrleData; #endif + /* if progressive updating is on, this variable holds the current + * y coordinate of the progressive slice. */ + int progressiveSliceY; } rfbClientRec, *rfbClientPtr; /* -- cgit v1.2.3