[PATCH xorg-gtest 3/3] Provide a full server layout in dummy.conf

Chase Douglas chase.douglas at canonical.com
Wed Apr 18 10:39:05 PDT 2012


The X.org server uses the first server layout, and provides one if none
are found. If a layout is specified in /usr/share/X11/xorg.conf.d, the
dummy video device configuration may not be used.

This change ensures that the dummy video device is used by providing a
full server layout in the main configuration file.

Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
---
 data/xorg/gtest/dummy.conf |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/data/xorg/gtest/dummy.conf b/data/xorg/gtest/dummy.conf
index 5600991..3aaa5c7 100644
--- a/data/xorg/gtest/dummy.conf
+++ b/data/xorg/gtest/dummy.conf
@@ -1,3 +1,13 @@
+Section "ServerLayout"
+    Identifier "Dummy layout"
+    Screen 0 "Dummy screen" 0 0
+EndSection
+
+Section "Screen"
+    Identifier "Dummy screen"
+    Device "Dummy video device"
+EndSection
+
 Section "Device"
     Identifier "Dummy video device"
     Driver "dummy"
-- 
1.7.9.1



More information about the xorg-devel mailing list