From 59c2c4f645b4d782599c274f4bc752de9623d308 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 10 Jul 2012 09:10:22 +0100 Subject: AllocDevicePair: Ensure XKB privates are initialised Since we call directly into XKB and may be doing so before the extension has been initialised, make sure its privates are set up first. XTest had a hack to do this itself, but seems cleaner to just make sure we do it in AllocDevicePair. Signed-off-by: Daniel Stone Reviewed-by: Peter Hutterer Signed-off-by: Keith Packard --- test/xtest.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'test') 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(); -- cgit v1.2.3