diff options
author | Keith Packard <keithp@keithp.com> | 2010-06-06 20:45:53 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-06-06 21:24:04 -0700 |
commit | bc26665661565918af484ccd17caad951010df60 (patch) | |
tree | 1f922d9d23c3b43974714c0df0715a467a231a5d /test/xtest.c | |
parent | f03be727d647183a2176355ad0ac9a6735067be9 (diff) |
Initialize private keys in test suite
Make sure all of the private keys used by the test code are
initialized before being used.
Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Robert Hooker <sarvatt@ubuntu.com>
Diffstat (limited to 'test/xtest.c')
-rw-r--r-- | test/xtest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/xtest.c b/test/xtest.c index cc1188d7d..af75f0c90 100644 --- a/test/xtest.c +++ b/test/xtest.c @@ -30,6 +30,7 @@ #include "inputstr.h" #include "scrnintstr.h" #include "exevents.h" +#include "xkbsrv.h" #include "xserver-properties.h" #include <glib.h> @@ -59,6 +60,9 @@ static void xtest_init_devices(void) dixResetPrivates(); InitAtoms(); + XkbInitPrivates(); + XTestInitPrivates(); + /* this also inits the xtest devices */ InitCoreDevices(); |