|
|
@ -624,6 +624,9 @@ rfbScreenInfoPtr rfbGetScreen(int* argc,char** argv,
|
|
|
|
|
|
|
|
|
|
|
|
screen->listenInterface = htonl(INADDR_ANY);
|
|
|
|
screen->listenInterface = htonl(INADDR_ANY);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
screen->deferUpdateTime=5;
|
|
|
|
|
|
|
|
screen->maxRectsPerUpdate=50;
|
|
|
|
|
|
|
|
|
|
|
|
if(!rfbProcessArguments(screen,argc,argv)) {
|
|
|
|
if(!rfbProcessArguments(screen,argc,argv)) {
|
|
|
|
free(screen);
|
|
|
|
free(screen);
|
|
|
|
return NULL;
|
|
|
|
return NULL;
|
|
|
@ -654,9 +657,6 @@ rfbScreenInfoPtr rfbGetScreen(int* argc,char** argv,
|
|
|
|
|
|
|
|
|
|
|
|
IF_PTHREADS(screen->backgroundLoop = FALSE);
|
|
|
|
IF_PTHREADS(screen->backgroundLoop = FALSE);
|
|
|
|
|
|
|
|
|
|
|
|
screen->deferUpdateTime=5;
|
|
|
|
|
|
|
|
screen->maxRectsPerUpdate=50;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* proc's and hook's */
|
|
|
|
/* proc's and hook's */
|
|
|
|
|
|
|
|
|
|
|
|
screen->kbdAddEvent = rfbDefaultKbdAddEvent;
|
|
|
|
screen->kbdAddEvent = rfbDefaultKbdAddEvent;
|
|
|
|