diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-09 16:54:32 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-09 17:51:27 +0930 |
commit | 0211e3e8277c590349903989f1676f6af4baa44b (patch) | |
tree | bef8f31d29aa3975ba45da0850994ab1449f98b0 /include | |
parent | 7d5bb99ffce3200f82420c5a5ebac3b445aac633 (diff) |
Add XDevicePropertyNotifyEvent support.
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/extensions/XInput.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput.h b/include/X11/extensions/XInput.h index 93c9041..d2b845f 100644 --- a/include/X11/extensions/XInput.h +++ b/include/X11/extensions/XInput.h @@ -530,6 +530,23 @@ typedef struct { XAnyClassPtr inputclassinfo; /* same as in XDeviceInfo */ } XDeviceClassesChangedEvent; +/* + * Notifies the client that a property on a device has changed value. The + * client is expected to query the server for updated value of the property. + */ +typedef struct { + int type; /* GenericEvent */ + unsigned long serial; /* # of last request processed by server */ + Bool send_event; /* true if this came from a SendEvent request */ + Display *display; /* Display the event was read from */ + int extension; /* XI extension offset */ + int evtype; /* XI_DeviceHierarchyChangedNotify */ + Time time; + XID deviceid; /* id of the device that changed */ + Atom atom; /* the property that changed */ + int state; /* PropertyNewValue or PropertyDeleted */ +} XDevicePropertyNotifyEvent; + /******************************************************************* * |