diff options
Diffstat (limited to 'x11vnc/unixpw.c')
-rw-r--r-- | x11vnc/unixpw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c index 2130e00..bb66cd7 100644 --- a/x11vnc/unixpw.c +++ b/x11vnc/unixpw.c @@ -67,6 +67,8 @@ static int db = 0; static int white(void) { static unsigned long black_pix = 0, white_pix = 1, set = 0; + RAWFB_RET(0xffffff) + if (depth <= 8 && ! set) { X_LOCK; black_pix = BlackPixel(dpy, scr); |