dscho 21 years ago
parent 67094d7c28
commit e7dacc5717
  1. 2
  2. 3
  3. 2

@ -4,7 +4,7 @@ Copyright (C) 2001 Johannes E. Schindelin
What is it?
VNC is set of programs using the RFB (Remote Frame Buffer) protocol. They
VNC is a set of programs using the RFB (Remote Frame Buffer) protocol. They
are designed to "export" a frame buffer via net (if you don't know VNC, I
suggest you read "Basics" below). It is already in wide use for
administration, but it is not that easy to program a server yourself.

@ -35,6 +35,7 @@ typedef unsigned short CARD16;
typedef unsigned int CARD32;
typedef CARD32 Pixel;
typedef CARD32 KeySym;
#define SIGNED signed
/* for some strange reason, "typedef signed char Bool;" yields a four byte
signed int on IRIX, but only for rfbserver.o!!! */
#define Bool signed char
@ -57,6 +58,8 @@ typedef CARD32 KeySym;
#undef Bool
#define Bool char
#undef SIGNED
#define SIGNED
#include <sys/types.h>
/* typedef unsigned int pthread_t; */
/* SUN cc seems to have problems with inclusion of sys/types! */

@ -1121,7 +1121,7 @@ rfbSendCopyRegion(cl, reg, dx, dy)
sraRectangleIterator* i;
sraRect rect1;
printf("copyrect: "); sraRgnPrint(reg); putchar('\n'); fflush(stdout);
/* printf("copyrect: "); sraRgnPrint(reg); putchar('\n');fflush(stdout); */
i = sraRgnGetReverseIterator(reg,dx>0,dy>0);
while(sraRgnIteratorNext(i,&rect1)) {