summaryrefslogtreecommitdiff
path: root/include/exevents.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-12-05 16:24:57 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-01-12 12:55:27 +1000
commita48c81dcdf569a3f634ac23e08d2491354de6a36 (patch)
tree3c7c5a82f99513d000e0b731e0d93dbb9e37b092 /include/exevents.h
parent669f6810af9a89187d6149841925fe765f3988ff (diff)
Xi: add XATOM_FLOAT to server-defined properties.
This property is used to denote type float for input properties. Such properties can be accessed easily through the XIPropToFloat() function. Code originally written by Simon Thum. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'include/exevents.h')
-rw-r--r--include/exevents.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/exevents.h b/include/exevents.h
index 485347be2..2504baf04 100644
--- a/include/exevents.h
+++ b/include/exevents.h
@@ -257,4 +257,10 @@ extern _X_EXPORT int XIPropToInt(
int **buf_return
);
+extern _X_EXPORT int XIPropToFloat(
+ XIPropertyValuePtr val,
+ int *nelem_return,
+ float **buf_return
+);
+
#endif /* EXEVENTS_H */