summaryrefslogtreecommitdiff
path: root/dix/main.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-11-21 15:13:00 +1000
committerPeter Hutterer <peter.hutterer@redhat.com>2008-11-26 10:53:23 +1000
commitec1d08442f69353cb0e73ac4eaf0346ebb975594 (patch)
treebdac966d0975bf02454a8279e5b2b0f0cd32b57d /dix/main.c
parent2b45602e828a07a0817691b2838cd34ffee531bd (diff)
dix: Enable core devices in InitCoreDevices already.
Updated patch, see http://lists.freedesktop.org/archives/xorg/2008-November/040540.html Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'dix/main.c')
-rw-r--r--dix/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dix/main.c b/dix/main.c
index 7bd91e0c2..ee2e10db5 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -361,8 +361,7 @@ int main(int argc, char *argv[], char *envp[])
InitCoreDevices();
InitInput(argc, argv);
- if (InitAndStartDevices() != Success)
- FatalError("failed to initialize core devices");
+ InitAndStartDevices();
dixSaveScreens(serverClient, SCREEN_SAVER_FORCER, ScreenSaverReset);