summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/XAllowDeviceEvents.man7
-rw-r--r--man/XChangeDeviceDontPropagateList.man7
-rw-r--r--man/XChangeKeyboardDevice.man7
-rw-r--r--man/XChangePointerDevice.man7
-rw-r--r--man/XDeviceBell.man7
-rw-r--r--man/XGetDeviceControl.man7
-rw-r--r--man/XGetDeviceKeyMapping.man7
-rw-r--r--man/XGetDeviceModifierMapping.man7
-rw-r--r--man/XGetDeviceMotionEvents.man7
-rw-r--r--man/XGetExtensionVersion.man7
-rw-r--r--man/XGetFeedbackControl.man7
-rw-r--r--man/XGrabDevice.man7
-rw-r--r--man/XGrabDeviceButton.man7
-rw-r--r--man/XGrabDeviceKey.man7
-rw-r--r--man/XListInputDevices.man7
-rw-r--r--man/XOpenDevice.man7
-rw-r--r--man/XQueryDeviceState.man7
-rw-r--r--man/XSelectExtensionEvent.man7
-rw-r--r--man/XSendExtensionEvent.man11
-rw-r--r--man/XSetDeviceButtonMapping.man7
-rw-r--r--man/XSetDeviceFocus.man7
-rw-r--r--man/XSetDeviceMode.man7
-rw-r--r--man/XSetDeviceValuators.man7
-rw-r--r--src/XAllowDv.c14
-rw-r--r--src/XChgDCtl.c14
-rw-r--r--src/XChgFCtl.c14
-rw-r--r--src/XChgKMap.c14
-rw-r--r--src/XChgKbd.c14
-rw-r--r--src/XChgPnt.c14
-rw-r--r--src/XChgProp.c14
-rw-r--r--src/XCloseDev.c14
-rw-r--r--src/XDevBell.c14
-rw-r--r--src/XExtInt.c23
-rw-r--r--src/XExtToWire.c30
-rw-r--r--src/XFreeLst.c3
-rw-r--r--src/XGMotion.c14
-rw-r--r--src/XGetBMap.c15
-rw-r--r--src/XGetDCtl.c16
-rw-r--r--src/XGetFCtl.c16
-rw-r--r--src/XGetKMap.c14
-rw-r--r--src/XGetMMap.c14
-rw-r--r--src/XGetProp.c14
-rw-r--r--src/XGetVers.c14
-rw-r--r--src/XGrDvBut.c14
-rw-r--r--src/XGrDvKey.c14
-rw-r--r--src/XGrabDev.c14
-rw-r--r--src/XGtFocus.c14
-rw-r--r--src/XGtSelect.c14
-rw-r--r--src/XListDev.c18
-rw-r--r--src/XOpenDev.c14
-rw-r--r--src/XQueryDv.c14
-rw-r--r--src/XSelect.c14
-rw-r--r--src/XSetBMap.c14
-rw-r--r--src/XSetDVal.c14
-rw-r--r--src/XSetMMap.c14
-rw-r--r--src/XSetMode.c14
-rw-r--r--src/XSndExEv.c14
-rw-r--r--src/XStFocus.c14
-rw-r--r--src/XUngrDev.c14
-rw-r--r--src/XUngrDvB.c14
-rw-r--r--src/XUngrDvK.c14
61 files changed, 433 insertions, 287 deletions
diff --git a/man/XAllowDeviceEvents.man b/man/XAllowDeviceEvents.man
index bc954d8..13eb8b5 100644
--- a/man/XAllowDeviceEvents.man
+++ b/man/XAllowDeviceEvents.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XAllDvEv.man,v 1.2 2001/01/27 18:20:20 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XAllDvEv.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XAllDvEv.man,v 1.3 2000/08/17 19:41:55 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XAllowDeviceEvents 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XAllowDeviceEvents 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XAllowDeviceEvents \- release queued events
.SH SYNTAX
diff --git a/man/XChangeDeviceDontPropagateList.man b/man/XChangeDeviceDontPropagateList.man
index b3e854e..25434da 100644
--- a/man/XChangeDeviceDontPropagateList.man
+++ b/man/XChangeDeviceDontPropagateList.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XChProp.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XChProp.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XChProp.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XChangeDeviceDontPropagateList 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XChangeDeviceDontPropagateList 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList \- query or change the dont-propagate-list for extension devices
.SH SYNTAX
diff --git a/man/XChangeKeyboardDevice.man b/man/XChangeKeyboardDevice.man
index 53c2cf3..9a03488 100644
--- a/man/XChangeKeyboardDevice.man
+++ b/man/XChangeKeyboardDevice.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XChgKbd.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XChgKbd.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XChgKbd.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XChangeKeyboardDevice 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XChangeKeyboardDevice 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XChangeKeyboardDevice \- change which device is used as the X keyboard
.SH SYNTAX
diff --git a/man/XChangePointerDevice.man b/man/XChangePointerDevice.man
index 6122c3b..9a7da8c 100644
--- a/man/XChangePointerDevice.man
+++ b/man/XChangePointerDevice.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XChgPtr.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XChgPtr.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XChgPtr.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XChangePointerDevice 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XChangePointerDevice 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XChangePointerDevice \- change which device is the X pointer
.SH SYNTAX
diff --git a/man/XDeviceBell.man b/man/XDeviceBell.man
index 5b44667..e5431c1 100644
--- a/man/XDeviceBell.man
+++ b/man/XDeviceBell.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XDevBell.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XDevBell.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XDevBell.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XDeviceBell 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XDeviceBell 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XDeviceBell \- ring a bell on a device supported through the input extension
.SH SYNTAX
diff --git a/man/XGetDeviceControl.man b/man/XGetDeviceControl.man
index ecae869..09a39f2 100644
--- a/man/XGetDeviceControl.man
+++ b/man/XGetDeviceControl.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XChDCtl.man,v 1.2 2001/01/27 18:20:20 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XChDCtl.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XChDCtl.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XGetDeviceControl 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XGetDeviceControl 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XGetDeviceControl, XChangeDeviceControl \- query and change input device controls
.SH SYNTAX
diff --git a/man/XGetDeviceKeyMapping.man b/man/XGetDeviceKeyMapping.man
index ba52b7c..26c4ff0 100644
--- a/man/XGetDeviceKeyMapping.man
+++ b/man/XGetDeviceKeyMapping.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XChKMap.man,v 1.2 2001/01/27 18:20:20 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XChKMap.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XChKMap.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XGetDeviceKeyMapping 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XGetDeviceKeyMapping 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XGetDeviceKeyMapping, XChangeDeviceKeyMapping \- query or change device key mappings
.SH SYNTAX
diff --git a/man/XGetDeviceModifierMapping.man b/man/XGetDeviceModifierMapping.man
index 0175d83..d6e8e24 100644
--- a/man/XGetDeviceModifierMapping.man
+++ b/man/XGetDeviceModifierMapping.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XChMMap.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XChMMap.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XChMMap.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XGetDeviceModifierMapping 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XGetDeviceModifierMapping 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XGetDeviceModifierMapping, XSetDeviceModifierMapping \- query or change device modifier mappings
.SH SYNTAX
diff --git a/man/XGetDeviceMotionEvents.man b/man/XGetDeviceMotionEvents.man
index cf8d732..f3fded0 100644
--- a/man/XGetDeviceMotionEvents.man
+++ b/man/XGetDeviceMotionEvents.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XGetDvMo.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XGetDvMo.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XGetDvMo.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XGetDeviceMotionEvents 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XGetDeviceMotionEvents 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XGetDeviceMotionEvents, XDeviceTimeCoord \- get device motion history
.SH SYNTAX
diff --git a/man/XGetExtensionVersion.man b/man/XGetExtensionVersion.man
index 29f7acf..4e3fde9 100644
--- a/man/XGetExtensionVersion.man
+++ b/man/XGetExtensionVersion.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XGetExtV.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XGetExtV.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XGetExtV.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XGetExtensionVersion 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XGetExtensionVersion 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XGetExtensionVersion \- query the version of the input extension.
.SH SYNTAX
diff --git a/man/XGetFeedbackControl.man b/man/XGetFeedbackControl.man
index 959052a..853d48a 100644
--- a/man/XGetFeedbackControl.man
+++ b/man/XGetFeedbackControl.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XChFCtl.man,v 1.2 2001/01/27 18:20:20 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XChFCtl.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XChFCtl.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XGetFeedbackControl 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XGetFeedbackControl 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XGetFeedbackControl, XChangeFeedbackControl \- query and change input device feedbacks
.SH SYNTAX
diff --git a/man/XGrabDevice.man b/man/XGrabDevice.man
index 8a5608c..8b6de38 100644
--- a/man/XGrabDevice.man
+++ b/man/XGrabDevice.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XGrabDev.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XGrabDev.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XGrabDev.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XGrabDevice 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XGrabDevice 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XGrabDevice, XUngrabDevice \- grab/release the specified extension device
.SH SYNTAX
diff --git a/man/XGrabDeviceButton.man b/man/XGrabDeviceButton.man
index bb42011..92912d2 100644
--- a/man/XGrabDeviceButton.man
+++ b/man/XGrabDeviceButton.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XGrDvBut.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XGrDvBut.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XGrDvBut.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XGrabDeviceButton 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XGrabDeviceButton 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XGrabDeviceButton, XUngrabDeviceButton \- grab/ungrab extension input device buttons
.SH SYNTAX
diff --git a/man/XGrabDeviceKey.man b/man/XGrabDeviceKey.man
index 4f92451..12defb8 100644
--- a/man/XGrabDeviceKey.man
+++ b/man/XGrabDeviceKey.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XGrDvKey.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XGrDvKey.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XGrDvKey.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XGrabDeviceKey 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XGrabDeviceKey 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XGrabDeviceKey, XUngrabDeviceKey \- grab/ungrab extension input device Keys
.SH SYNTAX
diff --git a/man/XListInputDevices.man b/man/XListInputDevices.man
index ea780c6..8d1f841 100644
--- a/man/XListInputDevices.man
+++ b/man/XListInputDevices.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XListDev.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XListDev.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XListDev.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XListInputDevices 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XListInputDevices 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XListInputDevices, XFreeDeviceList \- list available input devices
.SH SYNTAX
diff --git a/man/XOpenDevice.man b/man/XOpenDevice.man
index 915865e..307b12c 100644
--- a/man/XOpenDevice.man
+++ b/man/XOpenDevice.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XOpenDev.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XOpenDev.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XOpenDev.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XOpenDevice 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XOpenDevice 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XOpenDevice, XCloseDevice \- open or close an extension input device
.SH SYNTAX
diff --git a/man/XQueryDeviceState.man b/man/XQueryDeviceState.man
index 195d5e4..cf90e77 100644
--- a/man/XQueryDeviceState.man
+++ b/man/XQueryDeviceState.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XQueryDv.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XQueryDv.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XQueryDv.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XQueryDeviceState 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XQueryDeviceState 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XQueryDeviceState \- query the state of an extension input device.
.SH SYNTAX
diff --git a/man/XSelectExtensionEvent.man b/man/XSelectExtensionEvent.man
index 95ec1bc..543d83e 100644
--- a/man/XSelectExtensionEvent.man
+++ b/man/XSelectExtensionEvent.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XSelExtEv.man,v 1.2 2001/01/27 18:20:22 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XSelExtEv.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XSelExtEv.man,v 1.3 2000/08/17 19:41:57 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XSelectExtensionEvent 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XSelectExtensionEvent 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XSelectExtensionEvent, XGetSelectedExtensionEvents \- select extension events, get the list of currently selected extension events
.SH SYNTAX
diff --git a/man/XSendExtensionEvent.man b/man/XSendExtensionEvent.man
index ad66beb..be6e14b 100644
--- a/man/XSendExtensionEvent.man
+++ b/man/XSendExtensionEvent.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XSExEvnt.man,v 1.3 2001/02/09 03:47:49 tsi Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XSExEvnt.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XSExEvnt.man,v 1.3 2000/08/17 19:41:56 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XSendExtensionEvent 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XSendExtensionEvent 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XSendExtensionEvent \- send input extension events to a client
.SH SYNTAX
@@ -39,8 +42,8 @@ Specifies the device from which the events are to be sent.
.TP 12
.I destination
Specifies the window the event is to be sent to. You can pass window id,
-\fIPointerWindow\fP, \
-or \
+\fIPointerWindow\fP,
+or
\fIInputFocus\fP.
.TP 12
.I propagate
diff --git a/man/XSetDeviceButtonMapping.man b/man/XSetDeviceButtonMapping.man
index e6635db..38521b2 100644
--- a/man/XSetDeviceButtonMapping.man
+++ b/man/XSetDeviceButtonMapping.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XSeBMap.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XSeBMap.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XSeBMap.man,v 1.3 2000/08/17 19:41:57 cpqbld Exp $
.ds xL Programming With Xlib
-.TH XSetDeviceButtonMapping 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XSetDeviceButtonMapping 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XSetDeviceButtonMapping, XGetDeviceButtonMapping \- query or change device button mappings
.SH SYNTAX
diff --git a/man/XSetDeviceFocus.man b/man/XSetDeviceFocus.man
index b07764b..e4233ff 100644
--- a/man/XSetDeviceFocus.man
+++ b/man/XSetDeviceFocus.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XSeDvFoc.man,v 1.2 2001/01/27 18:20:21 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XSeDvFoc.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XSeDvFoc.man,v 1.3 2000/08/17 19:41:57 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XSetDeviceFocus 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XSetDeviceFocus 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XSetDeviceFocus, XGetDeviceFocus \- control extension input device focus
.SH SYNTAX
diff --git a/man/XSetDeviceMode.man b/man/XSetDeviceMode.man
index 0f30233..52daa62 100644
--- a/man/XSetDeviceMode.man
+++ b/man/XSetDeviceMode.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XSetMode.man,v 1.2 2001/01/27 18:20:22 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XSetMode.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XSetMode.man,v 1.3 2000/08/17 19:41:57 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XSetDeviceMode 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XSetDeviceMode 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XSetDeviceMode \- change the mode of a device
.SH SYNTAX
diff --git a/man/XSetDeviceValuators.man b/man/XSetDeviceValuators.man
index 1b3a054..7ccd5d3 100644
--- a/man/XSetDeviceValuators.man
+++ b/man/XSetDeviceValuators.man
@@ -1,4 +1,7 @@
.\"
+.\" $XFree86: xc/doc/man/Xi/XSetDVal.man,v 1.2 2001/01/27 18:20:22 dawes Exp $
+.\"
+.\"
.\" Copyright ([\d,\s]*) by Hewlett-Packard Company, Ardent Computer,
.\"
.\" Permission to use, copy, modify, distribute, and sell this documentation
@@ -8,9 +11,9 @@
.\" suitability for any purpose of the information in this document. It is
.\" provided \`\`as is'' without express or implied warranty.
.\"
-.\" $Xorg: XSetDVal.man,v 1.4 2001/03/16 17:51:13 pookie Exp $
+.\" $Xorg: XSetDVal.man,v 1.3 2000/08/17 19:41:57 cpqbld Exp $
.ds xL Programming with Xlib
-.TH XSetDeviceValuators 3X11 "Release 6.6" "X Version 11" "X FUNCTIONS"
+.TH XSetDeviceValuators 3X11 __xorgversion__ "X FUNCTIONS"
.SH NAME
XSetDeviceValuators \- initialize the valuators on an extension input device
.SH SYNTAX
diff --git a/src/XAllowDv.c b/src/XAllowDv.c
index 200bb4b..d88001b 100644
--- a/src/XAllowDv.c
+++ b/src/XAllowDv.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XAllowDv.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
XAllowDeviceEvents (dpy, dev, event_mode, time)
@@ -66,7 +68,7 @@ XAllowDeviceEvents (dpy, dev, event_mode, time)
Time time;
{
xAllowDeviceEventsReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
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)
diff --git a/src/XChgFCtl.c b/src/XChgFCtl.c
index 75fe93c..36f5893 100644
--- a/src/XChgFCtl.c
+++ b/src/XChgFCtl.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XChgFCtl.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
XChangeFeedbackControl (dpy, dev, mask, f)
@@ -68,7 +70,7 @@ XChangeFeedbackControl (dpy, dev, mask, f)
{
int length;
xChangeFeedbackControlReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XChgKMap.c b/src/XChgKMap.c
index 74c1481..c698cc9 100644
--- a/src/XChgKMap.c
+++ b/src/XChgKMap.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XChgKMap.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
XChangeDeviceKeyMapping (dpy, dev, first, syms_per_code, keysyms, count)
@@ -69,7 +71,7 @@ XChangeDeviceKeyMapping (dpy, dev, first, syms_per_code, keysyms, count)
{
register long nbytes;
xChangeDeviceKeyMappingReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
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)
diff --git a/src/XChgPnt.c b/src/XChgPnt.c
index e1dbb1e..78e54c2 100644
--- a/src/XChgPnt.c
+++ b/src/XChgPnt.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XChgPnt.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
XChangePointerDevice (dpy, dev, xaxis, yaxis)
@@ -67,7 +69,7 @@ XChangePointerDevice (dpy, dev, xaxis, yaxis)
{
xChangePointerDeviceReq *req;
xChangePointerDeviceReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XChgProp.c b/src/XChgProp.c
index 2426759..dc09621 100644
--- a/src/XChgProp.c
+++ b/src/XChgProp.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XChgProp.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
XChangeDeviceDontPropagateList (dpy, window, count, events, mode)
@@ -68,7 +70,7 @@ XChangeDeviceDontPropagateList (dpy, window, count, events, mode)
int mode;
{
xChangeDeviceDontPropagateListReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XCloseDev.c b/src/XCloseDev.c
index f4da25e..ab6c25f 100644
--- a/src/XCloseDev.c
+++ b/src/XCloseDev.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XCloseDev.c,v 3.4 2002/10/16 00:37:28 dawes Exp $ */
/***********************************************************************
*
@@ -52,11 +53,12 @@ SOFTWARE.
*
*/
-#include "XIproto.h"
-#include "Xlibint.h"
-#include "XI.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
XCloseDevice(dpy, dev)
@@ -64,7 +66,7 @@ XCloseDevice(dpy, dev)
register XDevice *dev;
{
xCloseDeviceReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XDevBell.c b/src/XDevBell.c
index b352a06..2184530 100644
--- a/src/XDevBell.c
+++ b/src/XDevBell.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XDevBell.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
XDeviceBell (dpy, dev, feedbackclass, feedbackid, percent)
@@ -66,7 +68,7 @@ XDeviceBell (dpy, dev, feedbackclass, feedbackid, percent)
int percent;
{
xDeviceBellReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Add_XDeviceBell) == -1)
diff --git a/src/XExtInt.c b/src/XExtInt.c
index b8da8a0..ebd0614 100644
--- a/src/XExtInt.c
+++ b/src/XExtInt.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XExtInt.c,v 3.7 2002/10/16 00:37:28 dawes Exp $ */
/***********************************************************************
*
@@ -55,11 +56,12 @@ SOFTWARE.
#define NEED_EVENTS
#define NEED_REPLIES
#include <stdio.h>
-#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 ENQUEUE_EVENT True
#define DONT_ENQUEUE False
@@ -132,7 +134,7 @@ void _xibaddevice (dpy, error)
Display *dpy;
int *error;
{
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
*error = info->codes->first_error + XI_BadDevice;
}
@@ -140,7 +142,7 @@ void _xibadclass (dpy, error)
Display *dpy;
int *error;
{
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
*error = info->codes->first_error + XI_BadClass;
}
@@ -148,7 +150,7 @@ void _xibadevent (dpy, error)
Display *dpy;
int *error;
{
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
*error = info->codes->first_error + XI_BadEvent;
}
@@ -156,7 +158,7 @@ void _xibadmode (dpy, error)
Display *dpy;
int *error;
{
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
*error = info->codes->first_error + XI_BadMode;
}
@@ -164,7 +166,7 @@ void _xidevicebusy (dpy, error)
Display *dpy;
int *error;
{
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
*error = info->codes->first_error + XI_DeviceBusy;
}
@@ -175,6 +177,7 @@ void _xidevicebusy (dpy, error)
*
*/
+int
_XiCheckExtInit(dpy, version_index)
register Display *dpy;
register int version_index;
diff --git a/src/XExtToWire.c b/src/XExtToWire.c
index abdaf14..aefcfbb 100644
--- a/src/XExtToWire.c
+++ b/src/XExtToWire.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XExtToWire.c,v 3.6 2002/10/16 12:56:28 tsi Exp $ */
/****************************************************************
*
@@ -54,10 +55,11 @@ SOFTWARE.
#define NEED_EVENTS
#define NEED_REPLIES
-#include "Xlibint.h"
-#include "XInput.h"
-#include "XIproto.h"
-#include "extutil.h"
+#include <X11/extensions/XIproto.h>
+#include <X11/Xlibint.h>
+#include <X11/extensions/XInput.h>
+#include <X11/extensions/extutil.h>
+#include "XIint.h"
Status
_XiEventToWire(dpy, re, event, count)
@@ -66,7 +68,7 @@ _XiEventToWire(dpy, re, event, count)
register xEvent **event; /* wire protocol event */
register int *count;
{
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
int i;
switch ((re->type & 0x7f) - info->codes->first_event)
@@ -81,7 +83,7 @@ _XiEventToWire(dpy, re, event, count)
*count = 2;
kev = (deviceKeyButtonPointer *) Xmalloc (*count * sizeof (xEvent));
if (!kev)
- return(_XUnknownNativeEvent(dpy, re, event));
+ return(_XUnknownNativeEvent(dpy, re, *event));
*event = (xEvent *) kev;
kev->type = ev->type;
@@ -128,7 +130,7 @@ _XiEventToWire(dpy, re, event, count)
*count = 2;
pev = (deviceKeyButtonPointer *) Xmalloc (*count * sizeof (xEvent));
if (!pev)
- return(_XUnknownNativeEvent(dpy, re, event));
+ return(_XUnknownNativeEvent(dpy, re, *event));
*event = (xEvent *) pev;
pev->type = ev->type;
@@ -175,7 +177,7 @@ _XiEventToWire(dpy, re, event, count)
*count = 2;
bev = (deviceKeyButtonPointer *) Xmalloc (*count * sizeof (xEvent));
if (!bev)
- return(_XUnknownNativeEvent(dpy, re, event));
+ return(_XUnknownNativeEvent(dpy, re, *event));
*event = (xEvent *) bev;
bev->type = ev->type;
@@ -222,7 +224,7 @@ _XiEventToWire(dpy, re, event, count)
*count = 2;
mev = (deviceKeyButtonPointer *) Xmalloc (*count * sizeof (xEvent));
if (!mev)
- return(_XUnknownNativeEvent(dpy, re, event));
+ return(_XUnknownNativeEvent(dpy, re, *event));
*event = (xEvent *) mev;
mev->type = ev->type;
@@ -269,7 +271,7 @@ _XiEventToWire(dpy, re, event, count)
*count = 1;
fev = (deviceFocus *) Xmalloc (*count * sizeof (xEvent));
if (!fev)
- return(_XUnknownNativeEvent(dpy, re, event));
+ return(_XUnknownNativeEvent(dpy, re, *event));
*event = (xEvent *) fev;
fev->type = ev->type;
@@ -288,7 +290,7 @@ _XiEventToWire(dpy, re, event, count)
*count = 1;
mev = (deviceMappingNotify *) Xmalloc (*count * sizeof (xEvent));
if (!mev)
- return(_XUnknownNativeEvent(dpy, re, event));
+ return(_XUnknownNativeEvent(dpy, re, *event));
*event = (xEvent *) mev;
mev->type = ev->type;
@@ -334,7 +336,7 @@ _XiEventToWire(dpy, re, event, count)
sev = (deviceStateNotify *) Xmalloc (*count * sizeof (xEvent));
if (!sev)
- return(_XUnknownNativeEvent(dpy, re, event));
+ return(_XUnknownNativeEvent(dpy, re, *event));
*event = (xEvent *) sev;
tev = (xEvent *) (sev+1);
@@ -434,7 +436,7 @@ _XiEventToWire(dpy, re, event, count)
*count = 1;
cev = (changeDeviceNotify *) Xmalloc (*count * sizeof (xEvent));
if (!cev)
- return(_XUnknownNativeEvent(dpy, re, event));
+ return(_XUnknownNativeEvent(dpy, re, *event));
*event = (xEvent *) cev;
cev->type = ev->type;
@@ -444,7 +446,7 @@ _XiEventToWire(dpy, re, event, count)
break;
}
default:
- return(_XUnknownNativeEvent(dpy, re, event));
+ return(_XUnknownNativeEvent(dpy, re, *event));
}
return(1);
}
diff --git a/src/XFreeLst.c b/src/XFreeLst.c
index 63a5946..067a819 100644
--- a/src/XFreeLst.c
+++ b/src/XFreeLst.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XFreeLst.c,v 1.3 2002/10/16 00:37:28 dawes Exp $ */
/***********************************************************************
*
@@ -53,7 +54,7 @@ SOFTWARE.
*/
#include <stdio.h>
-#include "Xlib.h"
+#include <X11/Xlib.h>
/***********************************************************************
*
diff --git a/src/XGMotion.c b/src/XGMotion.c
index 14d2cba..e065b33 100644
--- a/src/XGMotion.c
+++ b/src/XGMotion.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGMotion.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"
XDeviceTimeCoord
*XGetDeviceMotionEvents (dpy, dev, start, stop, nEvents, mode, axis_count)
@@ -74,7 +76,7 @@ XDeviceTimeCoord
int *data, *bufp, *readp, *savp;
long size, size2;
int i, j;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XGetBMap.c b/src/XGetBMap.c
index 7c814fe..fa5eab6 100644
--- a/src/XGetBMap.c
+++ b/src/XGetBMap.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGetBMap.c,v 3.4 2002/10/16 00:37:28 dawes Exp $ */
/***********************************************************************
*
@@ -52,11 +53,13 @@ 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"
+
#ifdef MIN /* some systems define this in <sys/param.h> */
#undef MIN
#endif
@@ -72,7 +75,7 @@ XGetDeviceButtonMapping (dpy, device, map, nmap)
int status = 0;
unsigned char mapping[256]; /* known fixed size */
long nbytes;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
register xGetDeviceButtonMappingReq *req;
xGetDeviceButtonMappingReply rep;
diff --git a/src/XGetDCtl.c b/src/XGetDCtl.c
index 65c270c..2f060b0 100644
--- a/src/XGetDCtl.c
+++ b/src/XGetDCtl.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGetDCtl.c,v 3.4 2002/10/16 00:37:28 dawes Exp $ */
/***********************************************************************
*
@@ -52,12 +53,13 @@ SOFTWARE.
*
*/
-#include "XI.h"
-#include "XIproto.h"
-#include "Xlibint.h"
-#include "Xlib.h"
-#include "XInput.h"
-#include "extutil.h"
+#include <X11/extensions/XI.h>
+#include <X11/extensions/XIproto.h>
+#include <X11/Xlibint.h>
+#include <X11/Xlib.h>
+#include <X11/extensions/XInput.h>
+#include <X11/extensions/extutil.h>
+#include "XIint.h"
XDeviceControl
*XGetDeviceControl (dpy, dev, control)
@@ -73,7 +75,7 @@ XDeviceControl
xDeviceState *sav = NULL;
xGetDeviceControlReq *req;
xGetDeviceControlReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Add_XChangeDeviceControl) == -1)
diff --git a/src/XGetFCtl.c b/src/XGetFCtl.c
index b941bfb..d8c3407 100644
--- a/src/XGetFCtl.c
+++ b/src/XGetFCtl.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGetFCtl.c,v 3.4 2002/10/16 00:37:28 dawes Exp $ */
/***********************************************************************
*
@@ -52,12 +53,13 @@ SOFTWARE.
*
*/
-#include "XI.h"
-#include "XIproto.h"
-#include "Xlibint.h"
-#include "Xlib.h"
-#include "XInput.h"
-#include "extutil.h"
+#include <X11/extensions/XI.h>
+#include <X11/extensions/XIproto.h>
+#include <X11/Xlibint.h>
+#include <X11/Xlib.h>
+#include <X11/extensions/XInput.h>
+#include <X11/extensions/extutil.h>
+#include "XIint.h"
XFeedbackState
*XGetFeedbackControl (dpy, dev, num_feedbacks)
@@ -73,7 +75,7 @@ XFeedbackState
xFeedbackState *sav = NULL;
xGetFeedbackControlReq *req;
xGetFeedbackControlReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XGetKMap.c b/src/XGetKMap.c
index 8813b8f..3ea7819 100644
--- a/src/XGetKMap.c
+++ b/src/XGetKMap.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGetKMap.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"
KeySym
#if NeedFunctionPrototypes
@@ -83,7 +85,7 @@ KeySym
register KeySym *mapping = NULL;
xGetDeviceKeyMappingReq *req;
xGetDeviceKeyMappingReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XGetMMap.c b/src/XGetMMap.c
index 04615b8..4207676 100644
--- a/src/XGetMMap.c
+++ b/src/XGetMMap.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGetMMap.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"
XModifierKeymap
*XGetDeviceModifierMapping (dpy, dev)
@@ -67,7 +69,7 @@ XModifierKeymap
XModifierKeymap *res;
xGetDeviceModifierMappingReq *req;
xGetDeviceModifierMappingReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XGetProp.c b/src/XGetProp.c
index fdfaf8c..8eeb1b0 100644
--- a/src/XGetProp.c
+++ b/src/XGetProp.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGetProp.c,v 3.4 2002/10/16 00:37:29 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"
XEventClass
*XGetDeviceDontPropagateList (dpy, window, count)
@@ -69,7 +71,7 @@ XEventClass
int rlen;
xGetDeviceDontPropagateListReq *req;
xGetDeviceDontPropagateListReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XGetVers.c b/src/XGetVers.c
index dba03d8..0672e75 100644
--- a/src/XGetVers.c
+++ b/src/XGetVers.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGetVers.c,v 3.4 2002/10/16 00:37:29 dawes Exp $ */
/***********************************************************************
*
@@ -52,11 +53,12 @@ SOFTWARE.
*
*/
-#include "XIproto.h"
-#include "Xlibint.h"
-#include "XI.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"
XExtensionVersion
#if NeedFunctionPrototypes
@@ -72,7 +74,7 @@ XExtensionVersion
xGetExtensionVersionReq *req;
xGetExtensionVersionReply rep;
XExtensionVersion *ext;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, Dont_Check) == -1)
diff --git a/src/XGrDvBut.c b/src/XGrDvBut.c
index fc6b400..34a3fa1 100644
--- a/src/XGrDvBut.c
+++ b/src/XGrDvBut.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGrDvBut.c,v 3.5 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
XGrabDeviceButton (dpy, dev, button, modifiers, modifier_device,
@@ -75,7 +77,7 @@ XGrabDeviceButton (dpy, dev, button, modifiers, modifier_device,
int other_devices_mode;
{
register xGrabDeviceButtonReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XGrDvKey.c b/src/XGrDvKey.c
index e17d55f..437684c 100644
--- a/src/XGrDvKey.c
+++ b/src/XGrDvKey.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGrDvKey.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
XGrabDeviceKey (dpy, dev, key, modifiers, modifier_device,
@@ -75,7 +77,7 @@ XGrabDeviceKey (dpy, dev, key, modifiers, modifier_device,
int other_devices_mode;
{
register xGrabDeviceKeyReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XGrabDev.c b/src/XGrabDev.c
index 6f5ee02..8b953bf 100644
--- a/src/XGrabDev.c
+++ b/src/XGrabDev.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGrabDev.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
XGrabDevice (dpy, dev, grab_window, ownerEvents, event_count, event_list,
@@ -73,7 +75,7 @@ XGrabDevice (dpy, dev, grab_window, ownerEvents, event_count, event_list,
{
xGrabDeviceReply rep;
register xGrabDeviceReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XGtFocus.c b/src/XGtFocus.c
index b4a00eb..0b8ef56 100644
--- a/src/XGtFocus.c
+++ b/src/XGtFocus.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGtFocus.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
XGetDeviceFocus (dpy, dev, focus, revert_to, time)
@@ -68,7 +70,7 @@ XGetDeviceFocus (dpy, dev, focus, revert_to, time)
{
xGetDeviceFocusReq *req;
xGetDeviceFocusReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XGtSelect.c b/src/XGtSelect.c
index 2d76a4f..f1c72d0 100644
--- a/src/XGtSelect.c
+++ b/src/XGtSelect.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGtSelect.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
XGetSelectedExtensionEvents (dpy, w, this_client_count, this_client_list,
@@ -71,7 +73,7 @@ XGetSelectedExtensionEvents (dpy, w, this_client_count, this_client_list,
int tlen, alen;
register xGetSelectedExtensionEventsReq *req;
xGetSelectedExtensionEventsReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XListDev.c b/src/XListDev.c
index 714e0c4..71e63ce 100644
--- a/src/XListDev.c
+++ b/src/XListDev.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XListDev.c,v 3.5 2002/10/16 00:37:29 dawes Exp $ */
/***********************************************************************
*
@@ -55,11 +56,12 @@ SOFTWARE.
#define NEED_REPLIES
#define NEED_EVENTS
-#include "Xlibint.h"
-#include "XIproto.h"
-#include "XI.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"
XDeviceInfo
*XListInputDevices(dpy, ndevices)
@@ -69,15 +71,15 @@ XDeviceInfo
int size;
xListInputDevicesReq *req;
xListInputDevicesReply rep;
- xDeviceInfo *list, *slist;
- XDeviceInfo *sclist;
+ xDeviceInfo *list, *slist = NULL;
+ XDeviceInfo *sclist = NULL;
XDeviceInfo *clist = NULL;
xAnyClassPtr any, sav_any;
XAnyClassPtr Any;
char *nptr, *Nptr;
register int i,j,k;
register long rlen;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XOpenDev.c b/src/XOpenDev.c
index ed1ffe1..3439882 100644
--- a/src/XOpenDev.c
+++ b/src/XOpenDev.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XOpenDev.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"
XDevice
*XOpenDevice(dpy, id)
@@ -67,7 +69,7 @@ XDevice
xOpenDeviceReq *req;
xOpenDeviceReply rep;
XDevice *dev;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XQueryDv.c b/src/XQueryDv.c
index e9b3be7..186310c 100644
--- a/src/XQueryDv.c
+++ b/src/XQueryDv.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XQueryDv.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"
XDeviceState
*XQueryDeviceState (dpy, dev)
@@ -71,7 +73,7 @@ XDeviceState
XDeviceState *state = NULL;
XInputClass *any, *Any;
char *data;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XSelect.c b/src/XSelect.c
index 09ea2b4..6bef46a 100644
--- a/src/XSelect.c
+++ b/src/XSelect.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XSelect.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
XSelectExtensionEvent (dpy, w, event_list, count)
@@ -66,7 +68,7 @@ XSelectExtensionEvent (dpy, w, event_list, count)
int count;
{
register xSelectExtensionEventReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy,XInput_Initial_Release) == -1)
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)
diff --git a/src/XSetDVal.c b/src/XSetDVal.c
index 55e9bff..64da6c4 100644
--- a/src/XSetDVal.c
+++ b/src/XSetDVal.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XSetDVal.c,v 3.4 2002/10/16 00:37:29 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
XSetDeviceValuators (dpy, dev, valuators, first_valuator, num_valuators)
@@ -69,7 +71,7 @@ XSetDeviceValuators (dpy, dev, valuators, first_valuator, num_valuators)
{
xSetDeviceValuatorsReq *req;
xSetDeviceValuatorsReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Add_XSetDeviceValuators) == -1)
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)
diff --git a/src/XSetMode.c b/src/XSetMode.c
index 8ec69cb..85eb815 100644
--- a/src/XSetMode.c
+++ b/src/XSetMode.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XSetMode.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
XSetDeviceMode (dpy, dev, mode)
@@ -66,7 +68,7 @@ XSetDeviceMode (dpy, dev, mode)
{
xSetDeviceModeReq *req;
xSetDeviceModeReply rep;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XSndExEv.c b/src/XSndExEv.c
index 78642a5..55626d0 100644
--- a/src/XSndExEv.c
+++ b/src/XSndExEv.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XSndExEv.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"
extern Status _XiEventToWire();
@@ -76,7 +78,7 @@ XSendExtensionEvent (dpy, dev, dest, prop, count, list, event)
xEvent *ev;
register Status (**fp)();
Status status;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XStFocus.c b/src/XStFocus.c
index e59f3b5..5b232e7 100644
--- a/src/XStFocus.c
+++ b/src/XStFocus.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XStFocus.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
XSetDeviceFocus(dpy, dev, focus, revert_to, time)
@@ -67,7 +69,7 @@ XSetDeviceFocus(dpy, dev, focus, revert_to, time)
Time time;
{
xSetDeviceFocusReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
diff --git a/src/XUngrDev.c b/src/XUngrDev.c
index a241fba..ef77c64 100644
--- a/src/XUngrDev.c
+++ b/src/XUngrDev.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XUngrDev.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
XUngrabDevice (dpy, dev, time)
@@ -65,7 +67,7 @@ XUngrabDevice (dpy, dev, time)
Time time;
{
register xUngrabDeviceReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XUngrDvB.c b/src/XUngrDvB.c
index 03b7eb1..1f2134d 100644
--- a/src/XUngrDvB.c
+++ b/src/XUngrDvB.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XUngrDvB.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
XUngrabDeviceButton(dpy, dev, button, modifiers, modifier_dev, grab_window)
@@ -68,7 +70,7 @@ XUngrabDeviceButton(dpy, dev, button, modifiers, modifier_dev, grab_window)
Window grab_window;
{
register xUngrabDeviceButtonReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay(dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
diff --git a/src/XUngrDvK.c b/src/XUngrDvK.c
index 9c9cfb3..90c4063 100644
--- a/src/XUngrDvK.c
+++ b/src/XUngrDvK.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XUngrDvK.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
XUngrabDeviceKey (dpy, dev, key, modifiers, modifier_dev, grab_window)
@@ -68,7 +70,7 @@ XUngrabDeviceKey (dpy, dev, key, modifiers, modifier_dev, grab_window)
Window grab_window;
{
register xUngrabDeviceKeyReq *req;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
LockDisplay(dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)