dix: remove obsolete InitWindowPrivates().

This commit is contained in:
Peter Hutterer 2008-04-25 11:19:12 +09:30
parent dcdc66fcfc
commit 89add4ee98
3 changed files with 0 additions and 17 deletions

View File

@ -377,8 +377,6 @@ main(int argc, char *argv[], char *envp[])
FatalError("failed to create scratch GCs");
if (!CreateDefaultStipple(i))
FatalError("failed to create default stipple");
if (!InitWindowPrivates(pScreen))
FatalError("Failed to init window privates.");
if (!CreateRootWindow(pScreen))
FatalError("failed to create root window");
}

View File

@ -3924,19 +3924,6 @@ WindowParentHasDeviceCursor(WindowPtr pWin,
return FALSE;
}
/**
* Initialize some mandatory devPrivates for windows.
*
* At the moment, this includes only the enter/leave semaphore.
*
* Returns TRUE on success.
*/
_X_EXPORT Bool
InitWindowPrivates(ScreenPtr screen)
{
/* obsolete with devPrivates rework */
}
#ifndef NOLOGOHACK
static void
DrawLogo(WindowPtr pWin)

View File

@ -269,6 +269,4 @@ extern void DisableMapUnmapEvents(
extern void EnableMapUnmapEvents(
WindowPtr /* pWin */ );
Bool InitWindowPrivates(
ScreenPtr /* screen */);
#endif /* WINDOW_H */