]> git.sur5r.net Git - i3/i3/commitdiff
lib/StartXDummy.pm: document why we use -config /dev/null
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 7 Nov 2011 23:07:08 +0000 (23:07 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 7 Nov 2011 23:07:08 +0000 (23:07 +0000)
testcases/lib/StartXDummy.pm

index 8657ba9d51525dc096290c8a9d7c4072f942a983..36b9e0064c0d9d8ac8b3db955493223cc7d6a10a 100644 (file)
@@ -54,6 +54,9 @@ sub start_xdummy {
             # Child, close stdout/stderr, then start Xdummy.
             POSIX::close(0);
             POSIX::close(2);
+            # We use -config /dev/null to prevent Xdummy from using the system
+            # Xorg configuration. The tests should be independant from the
+            # actual system X configuration.
             exec './Xdummy', ":$displaynum", '-config', '/dev/null';
             exit 1;
         }