From 06a401f8f81b1fcf94bce6c99e4823d6e697881c Mon Sep 17 00:00:00 2001 From: runge Date: Tue, 13 Jun 2006 02:35:28 +0000 Subject: x11vnc: -display WAIT:cmd=FINDDISPLAY, HTTPONCE, -http_ssl option, Java fixes. --- x11vnc/screen.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'x11vnc/screen.c') diff --git a/x11vnc/screen.c b/x11vnc/screen.c index 1a76036..117bc30 100644 --- a/x11vnc/screen.c +++ b/x11vnc/screen.c @@ -874,6 +874,9 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n"); if (!strcasecmp(raw_fb_str, "NULL") || !strcasecmp(raw_fb_str, "ZERO")) { raw_fb_str = strdup("map:/dev/zero@640x480x32"); } + if (!strcasecmp(raw_fb_str, "RAND")) { + raw_fb_str = strdup("file:/dev/urandom@128x128x16"); + } if ( (q = strstr(raw_fb_str, "setup:")) == raw_fb_str) { FILE *pipe; -- cgit v1.2.1