summaryrefslogtreecommitdiff
path: root/src/XChgDCtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XChgDCtl.c')
-rw-r--r--src/XChgDCtl.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/XChgDCtl.c b/src/XChgDCtl.c
index 038136a..ec08db0 100644
--- a/src/XChgDCtl.c
+++ b/src/XChgDCtl.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XChgDCtl.c,v 3.4 2002/10/16 00:37:28 dawes Exp $ */
/***********************************************************************
*
@@ -53,11 +54,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
XChangeDeviceControl (dpy, dev, control, d)
@@ -69,7 +71,7 @@ XChangeDeviceControl (dpy, dev, control, d)
int length;
xChangeDeviceControlReq *req;
xChangeDeviceControlReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Add_XChangeDeviceControl) == -1)