From 340f1576afcdaf883d185da356e5d6282aa65e19 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 12 Feb 2009 10:44:27 +1000 Subject: [PATCH] dix: remove DefineInitialRootWindow() Obsolete. Signed-off-by: Peter Hutterer --- dix/events.c | 11 ----------- dix/main.c | 1 - include/dix.h | 3 --- 3 files changed, 15 deletions(-) diff --git a/dix/events.c b/dix/events.c index 14a0e5e57..598dc7514 100644 --- a/dix/events.c +++ b/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 diff --git a/dix/main.c b/dix/main.c index 3c25e2e21..1c66c8622 100644 --- a/dix/main.c +++ b/dix/main.c @@ -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); diff --git a/include/dix.h b/include/dix.h index 658dd293c..8d6b9ff44 100644 --- a/include/dix.h +++ b/include/dix.h @@ -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 */);