diff options
-rw-r--r-- | dix/devices.c | 2 | ||||
-rw-r--r-- | test/xtest.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dix/devices.c b/dix/devices.c index 207b78b87..9cf04ed3f 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -2674,6 +2674,8 @@ AllocDevicePair(ClientPtr client, const char *name, *ptr = *keybd = NULL; + XkbInitPrivates(); + pointer = AddInputDevice(client, ptr_proc, TRUE); if (!pointer) diff --git a/test/xtest.c b/test/xtest.c index 99e218541..402d9ceba 100644 --- a/test/xtest.c +++ b/test/xtest.c @@ -76,8 +76,6 @@ xtest_init_devices(void) InitAtoms(); SyncExtensionInit(); - XkbInitPrivates(); - /* this also inits the xtest devices */ InitCoreDevices(); |