dix: remove DefineInitialRootWindow()
Obsolete. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c178c3f814
commit
340f1576af
11
dix/events.c
11
dix/events.c
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 */);
|
||||
|
|
Loading…
Reference in New Issue
Block a user