mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: remove obsolete InitWindowPrivates().
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user