summaryrefslogtreecommitdiff
path: root/src/XSetBMap.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:41 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:41 +0000
commit3d0889d2b8d326319e17ffc49e114892ef54f979 (patch)
tree75c1586c56260fa99e560cb85302ed4daf8440a3 /src/XSetBMap.c
parent6b1f87ebe718c9c745d5f4b26343ee3cf34ff5cc (diff)
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'src/XSetBMap.c')
-rw-r--r--src/XSetBMap.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/XSetBMap.c b/src/XSetBMap.c
index 29fc22e..34139f2 100644
--- a/src/XSetBMap.c
+++ b/src/XSetBMap.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XSetBMap.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"
#define NEED_REPLIES
/* returns either DeviceMappingSuccess or DeviceMappingBusy */
@@ -70,7 +72,7 @@ XSetDeviceButtonMapping (dpy, device, map, nmap)
{
register xSetDeviceButtonMappingReq *req;
xSetDeviceButtonMappingReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay(dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)