diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-11-21 21:23:17 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-11-21 21:23:17 +0000 |
commit | 33ff4cec5ff7533ec725f71d357c096dfb0acb79 (patch) | |
tree | 1138cf2c7c67dbd917ecacb3062aeca2c71a70a8 /dix | |
parent | ca2874b273232d9f51881b1cd754ed6847bfaf47 (diff) |
Issue CloseDownDevices() in os/log.c and remove from dix/main.c.
This ensures that all calls to FatalError() will shutdown the input devices.
Diffstat (limited to 'dix')
-rw-r--r-- | dix/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/dix/main.c b/dix/main.c index bee5490fd..077fdea04 100644 --- a/dix/main.c +++ b/dix/main.c @@ -415,7 +415,6 @@ main(int argc, char *argv[], char *envp[]) defaultFontPath); } if (!SetDefaultFont(defaultTextFont)) { - CloseDownDevices(); FatalError("could not open default font '%s'", defaultTextFont); } #ifdef NULL_ROOT_CURSOR @@ -425,13 +424,11 @@ main(int argc, char *argv[], char *envp[]) cm.yhot = 0; if (!(rootCursor = AllocCursor(NULL, NULL, &cm, 0, 0, 0, 0, 0, 0))) { - CloseDownDevices(); FatalError("could not create empty root cursor"); } AddResource(FakeClientID(0), RT_CURSOR, (pointer)rootCursor); #else if (!(rootCursor = CreateRootCursor(defaultCursorFont, 0))) { - CloseDownDevices(); FatalError("could not open default cursor font '%s'", defaultCursorFont); } @@ -459,14 +456,12 @@ main(int argc, char *argv[], char *envp[]) #ifdef PANORAMIX if (!noPanoramiXExtension) { if (!PanoramiXCreateConnectionBlock()) { - CloseDownDevices(); FatalError("could not create connection block info"); } } else #endif { if (!CreateConnectionBlock()) { - CloseDownDevices(); FatalError("could not create connection block info"); } } |