Use a 24-bit framebuffer by default. This is what's commonly used today and
it's a format that's easier to handle efficiently in the encoders.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3639 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/xserver/hw/vnc/Xvnc.man b/unix/xserver/hw/vnc/Xvnc.man
index da7cba8..a831ddd 100644
--- a/unix/xserver/hw/vnc/Xvnc.man
+++ b/unix/xserver/hw/vnc/Xvnc.man
@@ -36,8 +36,8 @@
 
 .TP
 .B \-depth \fIdepth\fP
-Specify the pixel depth in bits of the desktop to be created. Default is 16,
-other possible values are 8, 15, and 24 - anything else is likely to cause
+Specify the pixel depth in bits of the desktop to be created. Default is 24,
+other possible values are 8, 15, and 16 - anything else is likely to cause
 strange behaviour by applications.
 
 .TP
diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc
index 6495067..9087ff0 100644
--- a/unix/xserver/hw/vnc/xvnc.cc
+++ b/unix/xserver/hw/vnc/xvnc.cc
@@ -98,7 +98,7 @@
 
 #define VFB_DEFAULT_WIDTH  1024
 #define VFB_DEFAULT_HEIGHT 768
-#define VFB_DEFAULT_DEPTH  16
+#define VFB_DEFAULT_DEPTH  24
 #define VFB_DEFAULT_WHITEPIXEL 0xffff
 #define VFB_DEFAULT_BLACKPIXEL 0
 #define VFB_DEFAULT_LINEBIAS 0