diff options
author | marha <marha@users.sourceforge.net> | 2010-06-15 11:47:00 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-06-15 11:47:00 +0000 |
commit | 35eba169d63276fc4c5692c51615a509f8572545 (patch) | |
tree | b21b0788d834832afc401a4c2d2a00889d156ccf /xorg-server/dix/main.c | |
parent | 1ceae771f1f16ef36c5083f5e678959b3b490c8f (diff) | |
download | vcxsrv-35eba169d63276fc4c5692c51615a509f8572545.tar.gz vcxsrv-35eba169d63276fc4c5692c51615a509f8572545.tar.bz2 vcxsrv-35eba169d63276fc4c5692c51615a509f8572545.zip |
Solved initialisation problem with privates
Diffstat (limited to 'xorg-server/dix/main.c')
-rw-r--r-- | xorg-server/dix/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg-server/dix/main.c b/xorg-server/dix/main.c index 187f2e51d..0e3a8567a 100644 --- a/xorg-server/dix/main.c +++ b/xorg-server/dix/main.c @@ -228,7 +228,9 @@ int main(int argc, char *argv[], char *envp[]) clients[0] = serverClient;
currentMaxClients = 1;
- /* Initialize server client devPrivates, to be reallocated as
+ dixResetPrivates();
+
+ /* Initialize server client devPrivates, to be reallocated as
* more client privates are registered
*/
if (!dixAllocatePrivates(&serverClient->devPrivates, PRIVATE_CLIENT))
@@ -244,7 +246,6 @@ int main(int argc, char *argv[], char *envp[]) InitEvents();
InitSelections();
InitGlyphCaching();
- dixResetPrivates();
dixResetRegistry();
ResetFontPrivateIndex();
InitCallbackManager();
|