Start devices after windows are initialized.

This fixes the hotplug segfault introduced with the multihead changes and
cleans up the code a bit as well.
This commit is contained in:
Peter Hutterer 2007-05-01 15:49:41 +09:30
commit 0214d0b96a
4 changed files with 45 additions and 57 deletions

View file

@ -186,7 +186,9 @@ extern Bool ActivateDevice(
extern Bool DisableDevice(
DeviceIntPtr /*device*/);
extern int InitAndStartDevices(void);
extern int InitAndStartDevices(
WindowPtr /*root*/);
extern void CloseDownDevices(void);