diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-04-25 11:19:12 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-04-25 14:30:26 +0930 |
commit | 89add4ee986e38b833bb58750b3e5a664efb6f4a (patch) | |
tree | d9c835ae445fb414843b2c0a3be9b6972fc43479 /dix | |
parent | dcdc66fcfc7957aa7875fbf74fa3a55989a9a187 (diff) |
dix: remove obsolete InitWindowPrivates().
Diffstat (limited to 'dix')
-rw-r--r-- | dix/main.c | 2 | ||||
-rw-r--r-- | dix/window.c | 13 |
2 files changed, 0 insertions, 15 deletions
diff --git a/dix/main.c b/dix/main.c index f7824ee83..d99cb2d75 100644 --- a/dix/main.c +++ b/dix/main.c @@ -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"); } diff --git a/dix/window.c b/dix/window.c index 98a905c44..6b9506825 100644 --- a/dix/window.c +++ b/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) |