dix: InitAndStartDevices doesn't need a window parameter.
Leftover from the old pointer-keyboard pairing code, obsolete and gone now.
This commit is contained in:
@@ -539,7 +539,7 @@ InitCoreDevices(void)
|
|||||||
* @return Success or error code on failure.
|
* @return Success or error code on failure.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
InitAndStartDevices(WindowPtr root)
|
InitAndStartDevices()
|
||||||
{
|
{
|
||||||
DeviceIntPtr dev, next;
|
DeviceIntPtr dev, next;
|
||||||
|
|
||||||
|
|||||||
@@ -412,7 +412,7 @@ int main(int argc, char *argv[], char *envp[])
|
|||||||
|
|
||||||
InitCoreDevices();
|
InitCoreDevices();
|
||||||
InitInput(argc, argv);
|
InitInput(argc, argv);
|
||||||
if (InitAndStartDevices(WindowTable[0]) != Success)
|
if (InitAndStartDevices() != Success)
|
||||||
FatalError("failed to initialize core devices");
|
FatalError("failed to initialize core devices");
|
||||||
|
|
||||||
dixSaveScreens(serverClient, SCREEN_SAVER_FORCER, ScreenSaverReset);
|
dixSaveScreens(serverClient, SCREEN_SAVER_FORCER, ScreenSaverReset);
|
||||||
|
|||||||
@@ -231,9 +231,7 @@ extern Bool ActivateDevice(
|
|||||||
extern Bool DisableDevice(
|
extern Bool DisableDevice(
|
||||||
DeviceIntPtr /*device*/);
|
DeviceIntPtr /*device*/);
|
||||||
|
|
||||||
extern int InitAndStartDevices(
|
extern int InitAndStartDevices(void);
|
||||||
WindowPtr /*root*/);
|
|
||||||
|
|
||||||
|
|
||||||
extern void CloseDownDevices(void);
|
extern void CloseDownDevices(void);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user