Remove all traces of #ifdef XINPUT and the matching bits from the configure.ac

This commit is contained in:
Peter Hutterer 2008-04-25 16:49:35 +09:30
commit e251c9e75a
28 changed files with 12 additions and 135 deletions

View file

@ -42,10 +42,8 @@
#include "dmx.h"
#include "dmxlog.h"
#include "dmxinput.h"
#ifdef XINPUT
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#endif
static dmxLogLevel dmxCurrentLogLevel = dmxDebug;
@ -279,7 +277,6 @@ void dmxLogVisual(DMXScreenInfo *dmxScreen, XVisualInfo *vi, int defaultVisual)
}
}
#ifdef XINPUT
/** Translate a (normalized) XInput event \a type into a human-readable
* string. */
const char *dmxXInputEventName(int type)
@ -304,7 +301,6 @@ const char *dmxXInputEventName(int type)
}
}
#endif
#endif
/** Translate an event \a type into a human-readable string. */