From 3dba58aa29697e968e3ef22481c9ab7f56a47404 Mon Sep 17 00:00:00 2001 From: dscho Date: Thu, 22 Nov 2001 13:58:38 +0000 Subject: added cmd line parameters --- x11vnc.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/x11vnc.c b/x11vnc.c index bfb6870..61962c5 100644 --- a/x11vnc.c +++ b/x11vnc.c @@ -150,7 +150,14 @@ int main(int argc,char** argv) } } else if(strcmp(argv[i],"-noshm")==0) { useSHM = FALSE; + } else if(strcmp(argv[i],"-runforever")==0) { + disconnectAfterFirstClient = FALSE; + } else if(i