summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
authordscho <dscho>2004-01-21 15:25:41 +0000
committerdscho <dscho>2004-01-21 15:25:41 +0000
commit34fc97a52add15a0b3060fac23bad6bc5324403a (patch)
tree5fd054e0800f6b046e40f9664994cd1eb0bc29f3 /rfb/rfb.h
parent3a472f8805ad45f43101900126b86c11a5cf01c5 (diff)
downloadlibtdevnc-34fc97a5.tar.gz
libtdevnc-34fc97a5.zip
add "-progressive height" option to make SendFramebufferUpdate "preemptive"
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h9
1 files changed, 9 insertions, 0 deletions
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;
/*