[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

x11proto-input: Changes to 'upstream-unstable'



 XI.h         |    6 ++++++
 XIproto.h    |    2 +-
 configure.ac |    2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

New commits:
commit 310a93f8e194aa070b0f1d40c8fd5ae941908dbe
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Thu Apr 26 11:06:18 2007 +0930

    bump to 1.4.2

diff --git a/configure.ac b/configure.ac
index 057e1c5..72f9882 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ([2.57])
-AC_INIT([InputProto], [1.4.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
+AC_INIT([InputProto], [1.4.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 
 XORG_RELEASE_VERSION

commit c9bed7d4750c314002c16430a4dd75f95cc2f78d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date:   Tue Apr 24 22:53:27 2007 +0930

    Add flags to be used for DevicePrensence's devchange field.

diff --git a/XI.h b/XI.h
index fbecd80..ae52292 100644
--- a/XI.h
+++ b/XI.h
@@ -250,6 +250,12 @@ SOFTWARE.
 
 #define _devicePresence		 0
 
+#define DeviceAdded              0
+#define DeviceRemoved            1
+#define DeviceEnabled            2
+#define DeviceDisabled           3
+#define DeviceUnrecoverable      4  
+
 #define XI_BadDevice	0
 #define XI_BadEvent	1
 #define XI_BadMode	2
diff --git a/XIproto.h b/XIproto.h
index 36b5a49..4f46f4f 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -1600,7 +1600,7 @@ typedef struct
     BYTE        pad00;
     CARD16 	sequenceNumber B16;
     Time        time B32;
-    BYTE        devchange;
+    BYTE        devchange; /* Device{Added|Removed|Enabled|Disabled} */
     BYTE        deviceid;
     CARD16      control B16;
     CARD32	pad02 B32;



Reply to: