summaryrefslogtreecommitdiff
path: root/src/XChgKbd.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:49 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:49 +0000
commit3986f13c9319b4f64c7b2ec56391370735e7d51d (patch)
tree75c1586c56260fa99e560cb85302ed4daf8440a3 /src/XChgKbd.c
parent6b1f87ebe718c9c745d5f4b26343ee3cf34ff5cc (diff)
downloadxorg-lib-libXi-3986f13c9319b4f64c7b2ec56391370735e7d51d.tar.gz
Diffstat (limited to 'src/XChgKbd.c')
-rw-r--r--src/XChgKbd.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/XChgKbd.c b/src/XChgKbd.c
index 089f124..c4d31ba 100644
--- a/src/XChgKbd.c
+++ b/src/XChgKbd.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XChgKbd.c,v 3.4 2002/10/16 00:37:28 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
XChangeKeyboardDevice (dpy, dev)
@@ -65,7 +67,7 @@ XChangeKeyboardDevice (dpy, dev)
{
xChangeKeyboardDeviceReq *req;
xChangeKeyboardDeviceReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)