dix: remove DefineInitialRootWindow()

Obsolete.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-02-12 10:44:27 +10:00
parent c178c3f814
commit 340f1576af
3 changed files with 0 additions and 15 deletions

View File

@ -2661,17 +2661,6 @@ void ReinitializeRootWindow(WindowPtr win, int xoff, int yoff)
}
#endif
/**
* Called from main() with the root window on the first screen. Used to do a
* lot more when MPX wasn't around yet. Things change.
*
* Should delete this now? -ds
*/
void
DefineInitialRootWindow(WindowPtr win)
{
}
/**
* Initialize a sprite for the given device and set it to some sane values. If
* the device already has a sprite alloc'd, don't realloc but just reset to

View File

@ -362,7 +362,6 @@ int main(int argc, char *argv[], char *envp[])
for (i = 0; i < screenInfo.numScreens; i++)
InitRootWindow(WindowTable[i]);
DefineInitialRootWindow(WindowTable[0]);
InitCoreDevices();
InitInput(argc, argv);

View File

@ -376,9 +376,6 @@ extern _X_EXPORT int DeliverDeviceEvents(
DeviceIntPtr /* dev */,
int /* count */);
extern _X_EXPORT void DefineInitialRootWindow(
WindowPtr /* win */);
extern _X_EXPORT void InitializeSprite(
DeviceIntPtr /* pDev */,
WindowPtr /* pWin */);