Commit e7dacc57 authored by dscho's avatar dscho

cleanups

parent 67094d7c
...@@ -4,7 +4,7 @@ Copyright (C) 2001 Johannes E. Schindelin ...@@ -4,7 +4,7 @@ Copyright (C) 2001 Johannes E. Schindelin
What is it? 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 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 suggest you read "Basics" below). It is already in wide use for
administration, but it is not that easy to program a server yourself. administration, but it is not that easy to program a server yourself.
......
...@@ -35,6 +35,7 @@ typedef unsigned short CARD16; ...@@ -35,6 +35,7 @@ typedef unsigned short CARD16;
typedef unsigned int CARD32; typedef unsigned int CARD32;
typedef CARD32 Pixel; typedef CARD32 Pixel;
typedef CARD32 KeySym; typedef CARD32 KeySym;
#define SIGNED signed
/* for some strange reason, "typedef signed char Bool;" yields a four byte /* for some strange reason, "typedef signed char Bool;" yields a four byte
signed int on IRIX, but only for rfbserver.o!!! */ signed int on IRIX, but only for rfbserver.o!!! */
#define Bool signed char #define Bool signed char
...@@ -57,6 +58,8 @@ typedef CARD32 KeySym; ...@@ -57,6 +58,8 @@ typedef CARD32 KeySym;
#define _BYTE_ORDER _LITTLE_ENDIAN #define _BYTE_ORDER _LITTLE_ENDIAN
#undef Bool #undef Bool
#define Bool char #define Bool char
#undef SIGNED
#define SIGNED
#include <sys/types.h> #include <sys/types.h>
/* typedef unsigned int pthread_t; */ /* typedef unsigned int pthread_t; */
/* SUN cc seems to have problems with inclusion of sys/types! */ /* SUN cc seems to have problems with inclusion of sys/types! */
......
...@@ -1121,7 +1121,7 @@ rfbSendCopyRegion(cl, reg, dx, dy) ...@@ -1121,7 +1121,7 @@ rfbSendCopyRegion(cl, reg, dx, dy)
sraRectangleIterator* i; sraRectangleIterator* i;
sraRect rect1; 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); i = sraRgnGetReverseIterator(reg,dx>0,dy>0);
while(sraRgnIteratorNext(i,&rect1)) { while(sraRgnIteratorNext(i,&rect1)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment