summaryrefslogtreecommitdiff
path: root/include/inputstr.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-07-10 16:27:36 +0930
committerPeter Hutterer <peter.hutterer@who-t.net>2008-07-10 16:27:36 +0930
commit4ab01fe5db7fb330b1ec463aa49b77859527e597 (patch)
tree82676a6dd2f5a03939cec42bf607b5bff9ae4109 /include/inputstr.h
parent666838fcc8b71fdeae160844160187f345cbf4a6 (diff)
Revert "Xi: add support for input device properties."
Note to self: don't mix up branches with half-finished cherrypicks. This reverts commit 666838fcc8b71fdeae160844160187f345cbf4a6.
Diffstat (limited to 'include/inputstr.h')
-rw-r--r--include/inputstr.h41
1 files changed, 1 insertions, 40 deletions
diff --git a/include/inputstr.h b/include/inputstr.h
index de1aa7987..e5de6fc31 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -335,38 +335,6 @@ typedef struct {
} SpriteRec, *SpritePtr;
-/* Device properties */
-typedef struct _XIPropertyValue
-{
- Atom type; /* ignored by server */
- short format; /* format of data for swapping - 8,16,32 */
- long size; /* size of data in (format/8) bytes */
- pointer data; /* private to client */
-} XIPropertyValueRec;
-
-typedef struct _XIProperty
-{
- struct _XIProperty *next;
- Atom propertyName;
- Bool is_pending;
- Bool range;
- Bool immutable;
-
- int num_valid;
- INT32 *valid_values;
- XIPropertyValueRec current,
- pending;
-} XIPropertyRec;
-
-typedef XIPropertyRec *XIPropertyPtr;
-typedef XIPropertyValueRec *XIPropertyValuePtr;
-
-typedef Bool (*XISetDevicePropertyProcPtr) (DeviceIntPtr dev,
- Atom property,
- XIPropertyValuePtr prop);
-typedef Bool (*XIGetDevicePropertyProcPtr) (DeviceIntPtr dev,
- Atom property);
-
/* states for devices */
#define NOT_GRABBED 0
@@ -379,9 +347,8 @@ typedef Bool (*XIGetDevicePropertyProcPtr) (DeviceIntPtr dev,
#define FROZEN_WITH_EVENT 6
#define THAW_OTHERS 7
-
typedef struct _GrabInfoRec {
- TimeStamp grabTime;
+ TimeStamp grabTime;
Bool fromPassiveGrab; /* true if from passive grab */
Bool implicitGrab; /* implicit from ButtonPress */
GrabRec activeGrab;
@@ -464,12 +431,6 @@ typedef struct _DeviceIntRec {
int valuators[MAX_VALUATORS];
int numValuators;
} last;
-
- /* Input device property handling */
- XIPropertyPtr properties;
- Bool pendingProperties;
- XISetDevicePropertyProcPtr SetProperty;
- XIGetDevicePropertyProcPtr GetProperty;
} DeviceIntRec;
typedef struct {