summaryrefslogtreecommitdiffstats
path: root/x11vnc/screen.c
diff options
context:
space:
mode:
authorrunge <runge>2006-06-13 02:35:28 +0000
committerrunge <runge>2006-06-13 02:35:28 +0000
commit06a401f8f81b1fcf94bce6c99e4823d6e697881c (patch)
treea975775f83fae8e7f5351ddc1f12384278f27660 /x11vnc/screen.c
parent7a3e236390501c14b9d75d80ea88f8a3e69a337a (diff)
downloadlibvncserver-06a401f8f81b1fcf94bce6c99e4823d6e697881c.zip
libvncserver-06a401f8f81b1fcf94bce6c99e4823d6e697881c.tar.gz
x11vnc: -display WAIT:cmd=FINDDISPLAY, HTTPONCE, -http_ssl option, Java fixes.
Diffstat (limited to 'x11vnc/screen.c')
-rw-r--r--x11vnc/screen.c3
1 files changed, 3 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud