dix: remove obsolete InitWindowPrivates().
This commit is contained in:
parent
dcdc66fcfc
commit
89add4ee98
|
@ -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");
|
||||
}
|
||||
|
|
13
dix/window.c
13
dix/window.c
|
@ -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)
|
||||
|
|
|
@ -269,6 +269,4 @@ extern void DisableMapUnmapEvents(
|
|||
extern void EnableMapUnmapEvents(
|
||||
WindowPtr /* pWin */ );
|
||||
|
||||
Bool InitWindowPrivates(
|
||||
ScreenPtr /* screen */);
|
||||
#endif /* WINDOW_H */
|
||||
|
|
Loading…
Reference in New Issue