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

@ -36,7 +36,7 @@
#endif
#include "win.h"
#if defined(XFree86Server) && defined(XINPUT)
#if defined(XFree86Server)
#include "inputstr.h"
/* Peek the internal button mapping */
@ -106,7 +106,7 @@ winMouseProc (DeviceIntPtr pDeviceInt, int iState)
2);
free(map);
#if defined(XFree86Server) && defined(XINPUT)
#if defined(XFree86Server)
g_winMouseButtonMap = pDeviceInt->button->map;
#endif
break;
@ -116,7 +116,7 @@ winMouseProc (DeviceIntPtr pDeviceInt, int iState)
break;
case DEVICE_CLOSE:
#if defined(XFree86Server) && defined(XINPUT)
#if defined(XFree86Server)
g_winMouseButtonMap = NULL;
#endif
case DEVICE_OFF:
@ -225,7 +225,7 @@ winMouseButtonsSendEvent (int iEventType, int iButton)
/* Load an xEvent and enqueue the event */
xCurrentEvent.u.u.type = iEventType;
#if defined(XFree86Server) && defined(XINPUT)
#if defined(XFree86Server)
if (g_winMouseButtonMap)
xCurrentEvent.u.u.detail = g_winMouseButtonMap[iButton];
else