summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-01-30 23:17:43 +0200
committerAlon Levy <alevy@redhat.com>2012-01-30 23:17:43 +0200
commitda1d595ad303b997343df91ebfb70c82c4bbb748 (patch)
treeea7c848bae945434a5d9d6fae4ff5e4023c4299b
parentdf89dc60feda16de907e93bf7da381873c01644f (diff)
Enable surface and caching option defaults for Xspice
-rw-r--r--src/qxl_driver.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 8f71492..bf9eec3 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -54,6 +54,12 @@ extern void compat_init_scrn(ScrnInfoPtr);
#define CHECK_POINT()
const OptionInfoRec DefaultOptions[] = {
+ { OPTION_ENABLE_IMAGE_CACHE,
+ "EnableImageCache", OPTV_BOOLEAN, { 0 }, TRUE },
+ { OPTION_ENABLE_FALLBACK_CACHE,
+ "EnableFallbackCache", OPTV_BOOLEAN, { 0 }, TRUE },
+ { OPTION_ENABLE_SURFACES,
+ "EnableSurfaces", OPTV_BOOLEAN, { 0 }, TRUE },
#ifdef XSPICE
{ OPTION_SPICE_PORT,
"SpicePort", OPTV_INTEGER, {5900}, FALSE },
@@ -100,10 +106,6 @@ const OptionInfoRec DefaultOptions[] = {
"SpiceCacertFile", OPTV_STRING, {0}, FALSE},
{ OPTION_SPICE_DH_FILE,
"SpiceDhFile", OPTV_STRING, {0}, FALSE},
-#else
- { OPTION_ENABLE_IMAGE_CACHE, "EnableImageCache", OPTV_BOOLEAN, { 0 }, TRUE },
- { OPTION_ENABLE_FALLBACK_CACHE, "EnableFallbackCache", OPTV_BOOLEAN, { 0 }, TRUE },
- { OPTION_ENABLE_SURFACES, "EnableSurfaces", OPTV_BOOLEAN, { 0 }, TRUE },
#endif
{ -1, NULL, OPTV_NONE, {0}, FALSE }