aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/main.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-06-15 11:47:00 +0000
committermarha <marha@users.sourceforge.net>2010-06-15 11:47:00 +0000
commit35eba169d63276fc4c5692c51615a509f8572545 (patch)
treeb21b0788d834832afc401a4c2d2a00889d156ccf /xorg-server/dix/main.c
parent1ceae771f1f16ef36c5083f5e678959b3b490c8f (diff)
downloadvcxsrv-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.c5
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();