summaryrefslogtreecommitdiff
path: root/include/eventconvert.h
diff options
context:
space:
mode:
authorChris Dekter <cdekter@gmail.com>2010-02-11 16:34:09 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-02-22 12:04:28 +1000
commit122fc0e7a0712df4ec2bd9ca6773f90bcd2095cf (patch)
treebdc79853a12460f5261d2df21b4469601d8cfc25 /include/eventconvert.h
parent4e8bf12b13690afa6d9fee0e339d3819ef16fb3f (diff)
Re-enable RECORD extension.
RECORD was disabled during the switch to internal events. This patch modifies the record callback to work with internal events instead of xEvents. The InternalEvents are converted to core/Xi events as needed. Since record is a loadable extension, the EventTo* calls must be externed. Signed-off-by: Chris Dekter <cdekter@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/eventconvert.h')
-rw-r--r--include/eventconvert.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/eventconvert.h b/include/eventconvert.h
index 277a6c4b8..b1196a00e 100644
--- a/include/eventconvert.h
+++ b/include/eventconvert.h
@@ -30,9 +30,9 @@
#define FP1616(integral, frac) ((integral) * (1 << 16) + (frac) * (1 << 16))
-_X_INTERNAL int EventToCore(InternalEvent *event, xEvent *core);
-_X_INTERNAL int EventToXI(InternalEvent *ev, xEvent **xi, int *count);
-_X_INTERNAL int EventToXI2(InternalEvent *ev, xEvent **xi);
+_X_EXPORT int EventToCore(InternalEvent *event, xEvent *core);
+_X_EXPORT int EventToXI(InternalEvent *ev, xEvent **xi, int *count);
+_X_EXPORT int EventToXI2(InternalEvent *ev, xEvent **xi);
_X_INTERNAL int GetCoreType(InternalEvent* ev);
_X_INTERNAL int GetXIType(InternalEvent* ev);
_X_INTERNAL int GetXI2Type(InternalEvent* ev);