summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-06-07 14:23:47 -0700
committerKeith Packard <keithp@keithp.com>2010-06-07 19:56:47 -0700
commit8e97e5f9425639ad0a084150d0b232cad417595d (patch)
treed644dd9e88086a860e892a2652bdefc1f58dc7bc /test
parentfdb081b430ddffb495aa5b05bcc4cf10882ff4b2 (diff)
If XTest is always required, then eliminate the XTest devPrivate
The internals of XTest are used by Xi and Xkb, and both Xi and Xkb are always required, so it makes little sense to have XTest place data in a devPrivate, especially a devPrivate which is only available when the XTest extension is enabled. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r--test/xi2/protocol-common.c1
-rw-r--r--test/xtest.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/test/xi2/protocol-common.c b/test/xi2/protocol-common.c
index ad18042f9..50f2b8698 100644
--- a/test/xi2/protocol-common.c
+++ b/test/xi2/protocol-common.c
@@ -157,7 +157,6 @@ void init_simple(void)
dixResetPrivates();
InitAtoms();
XkbInitPrivates();
- XTestInitPrivates();
dixRegisterPrivateKey(&XIClientPrivateKeyRec, PRIVATE_CLIENT, sizeof(XIClientRec));
dixRegisterPrivateKey(&miPointerScreenKeyRec, PRIVATE_SCREEN, 0);
dixRegisterPrivateKey(&miPointerPrivKeyRec, PRIVATE_DEVICE, 0);
diff --git a/test/xtest.c b/test/xtest.c
index af75f0c90..6ea6862f7 100644
--- a/test/xtest.c
+++ b/test/xtest.c
@@ -61,7 +61,6 @@ static void xtest_init_devices(void)
InitAtoms();
XkbInitPrivates();
- XTestInitPrivates();
/* this also inits the xtest devices */
InitCoreDevices();