summaryrefslogtreecommitdiff
path: root/mi/miinitext.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2008-10-22 22:29:54 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-11-04 16:01:07 +1030
commit889a8dc02bbd3926eaf16dce8f844dc58558e982 (patch)
tree5272408c75fbba1f1d6b721dd4c9f3ddbbd641bb /mi/miinitext.c
parent4cf2f4172abc4bf848c1726e6dac535713e08f0b (diff)
Xi: XINPUT has been mandatory for ages
Ditch all #ifdef XINPUT, since it's always built. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'mi/miinitext.c')
-rw-r--r--mi/miinitext.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mi/miinitext.c b/mi/miinitext.c
index 3a943b386..bfcb10d40 100644
--- a/mi/miinitext.c
+++ b/mi/miinitext.c
@@ -147,7 +147,6 @@ extern Bool noPanoramiXExtension;
#ifdef INXQUARTZ
extern Bool noPseudoramiXExtension;
#endif
-extern Bool noXInputExtension;
#ifdef XSELINUX
extern Bool noSELinuxExtension;
#endif
@@ -349,7 +348,7 @@ static ExtensionToggle ExtensionToggleList[] =
#ifdef PANORAMIX
{ "XINERAMA", &noPanoramiXExtension },
#endif
- { "XInputExtension", &noXInputExtension },
+ { "XInputExtension", NULL },
#ifdef XKB
{ "XKEYBOARD", &noXkbExtension },
#endif
@@ -411,7 +410,7 @@ InitExtensions(int argc, char *argv[])
#ifdef MULTIBUFFER
if (!noMultibufferExtension) MultibufferExtensionInit();
#endif
- if (!noXInputExtension) XInputExtensionInit();
+ XInputExtensionInit();
#ifdef XTEST
if (!noTestExtensions) XTestExtensionInit();
#endif
@@ -499,7 +498,7 @@ static ExtensionModule staticExtensions[] = {
#ifdef MITSHM
{ ShmExtensionInit, SHMNAME, &noMITShmExtension, NULL, NULL },
#endif
- { XInputExtensionInit, "XInputExtension", &noXInputExtension, NULL, NULL },
+ { XInputExtensionInit, "XInputExtension", NULL, NULL, NULL },
#ifdef XTEST
{ XTestExtensionInit, XTestExtensionName, &noTestExtensions, NULL, NULL },
#endif