diff options
Diffstat (limited to 'x11vnc/screen.c')
-rw-r--r-- | x11vnc/screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11vnc/screen.c b/x11vnc/screen.c index 9858ba3..3eaeb87 100644 --- a/x11vnc/screen.c +++ b/x11vnc/screen.c @@ -704,7 +704,9 @@ static XImage *initialize_raw_fb(void) { if (! raw_fb_str) { return NULL; } - + if (!strcasecmp(raw_fb_str, "NULL") || !strcasecmp(raw_fb_str, "ZERO")) { + raw_fb_str = strdup("map:/dev/zero@640x480x32"); + } if ( (q = strstr(raw_fb_str, "setup:")) == raw_fb_str) { FILE *pipe; |