summaryrefslogtreecommitdiff
path: root/src/XSetMMap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XSetMMap.c')
-rw-r--r--src/XSetMMap.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/XSetMMap.c b/src/XSetMMap.c
index a6a97d7..b377cd2 100644
--- a/src/XSetMMap.c
+++ b/src/XSetMMap.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XSetMMap.c,v 3.4 2002/10/16 00:37:29 dawes Exp $ */
/***********************************************************************
*
@@ -52,11 +53,12 @@ SOFTWARE.
*
*/
-#include "XI.h"
-#include "XIproto.h"
-#include "Xlibint.h"
-#include "XInput.h"
-#include "extutil.h"
+#include <X11/extensions/XI.h>
+#include <X11/extensions/XIproto.h>
+#include <X11/Xlibint.h>
+#include <X11/extensions/XInput.h>
+#include <X11/extensions/extutil.h>
+#include "XIint.h"
int
XSetDeviceModifierMapping (dpy, dev, modmap)
@@ -67,7 +69,7 @@ XSetDeviceModifierMapping (dpy, dev, modmap)
int mapSize = modmap->max_keypermod << 3; /* 8 modifiers */
xSetDeviceModifierMappingReq *req;
xSetDeviceModifierMappingReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)