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");
|
FatalError("failed to create scratch GCs");
|
||||||
if (!CreateDefaultStipple(i))
|
if (!CreateDefaultStipple(i))
|
||||||
FatalError("failed to create default stipple");
|
FatalError("failed to create default stipple");
|
||||||
if (!InitWindowPrivates(pScreen))
|
|
||||||
FatalError("Failed to init window privates.");
|
|
||||||
if (!CreateRootWindow(pScreen))
|
if (!CreateRootWindow(pScreen))
|
||||||
FatalError("failed to create root window");
|
FatalError("failed to create root window");
|
||||||
}
|
}
|
||||||
|
|
13
dix/window.c
13
dix/window.c
|
@ -3924,19 +3924,6 @@ WindowParentHasDeviceCursor(WindowPtr pWin,
|
||||||
return FALSE;
|
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
|
#ifndef NOLOGOHACK
|
||||||
static void
|
static void
|
||||||
DrawLogo(WindowPtr pWin)
|
DrawLogo(WindowPtr pWin)
|
||||||
|
|
|
@ -269,6 +269,4 @@ extern void DisableMapUnmapEvents(
|
||||||
extern void EnableMapUnmapEvents(
|
extern void EnableMapUnmapEvents(
|
||||||
WindowPtr /* pWin */ );
|
WindowPtr /* pWin */ );
|
||||||
|
|
||||||
Bool InitWindowPrivates(
|
|
||||||
ScreenPtr /* screen */);
|
|
||||||
#endif /* WINDOW_H */
|
#endif /* WINDOW_H */
|
||||||
|
|
Loading…
Reference in New Issue