Commit 9d43e8af authored by runge's avatar runge

main.c: fix screen->deferUpdateTime default.

parent 150db2ad
2005-06-27 Karl Runge <runge@karlrunge.com>
* libvncserver/main.c: move deferUpdateTime and maxRectsPerUpdate
defaults to before rfbProcessArguments().
2005-06-18 Karl Runge <runge@karlrunge.com>
* configure.ac: don't use -R on HP-UX and OSF1.
* x11vnc: don't free the current cursor, close stderr
......
......@@ -624,6 +624,9 @@ rfbScreenInfoPtr rfbGetScreen(int* argc,char** argv,
screen->listenInterface = htonl(INADDR_ANY);
screen->deferUpdateTime=5;
screen->maxRectsPerUpdate=50;
if(!rfbProcessArguments(screen,argc,argv)) {
free(screen);
return NULL;
......@@ -654,9 +657,6 @@ rfbScreenInfoPtr rfbGetScreen(int* argc,char** argv,
IF_PTHREADS(screen->backgroundLoop = FALSE);
screen->deferUpdateTime=5;
screen->maxRectsPerUpdate=50;
/* proc's and hook's */
screen->kbdAddEvent = rfbDefaultKbdAddEvent;
......
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