diff options
author | runge <runge> | 2005-06-27 14:26:57 +0000 |
---|---|---|
committer | runge <runge> | 2005-06-27 14:26:57 +0000 |
commit | 9d43e8af78ae6668a505f66379f80524c0047322 (patch) | |
tree | 325da1c1eab357fbe4214e982c223dfe50c242f5 /libvncserver/main.c | |
parent | 150db2adb48cb81a1be6365b1794ec7c902f1338 (diff) | |
download | libtdevnc-9d43e8af78ae6668a505f66379f80524c0047322.tar.gz libtdevnc-9d43e8af78ae6668a505f66379f80524c0047322.zip |
main.c: fix screen->deferUpdateTime default.
Diffstat (limited to 'libvncserver/main.c')
-rw-r--r-- | libvncserver/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvncserver/main.c b/libvncserver/main.c index be67be5..a9161ce 100644 --- a/libvncserver/main.c +++ b/libvncserver/main.c @@ -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; |