summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-11-06 10:27:25 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-11-19 12:12:23 +1000
commitfd214aabf77c44ba0ca3fd438f0c3c8eb22c7211 (patch)
tree1d74e5ba62bfb4a451ef3cc1d19a37baa9de56f7 /include
parent011f8458805e443ac9130865d2840a929a00cabf (diff)
input: drop FP1616 macro
The double_to_f1616() functions do the same thing, and they're tested. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
-rw-r--r--include/eventconvert.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/eventconvert.h b/include/eventconvert.h
index 4c56d534a..01172f0ee 100644
--- a/include/eventconvert.h
+++ b/include/eventconvert.h
@@ -29,8 +29,6 @@
#include "events.h"
#include "eventstr.h"
-#define FP1616(integral, frac) ((integral) * (1 << 16) + (frac) * (1 << 16))
-
_X_EXPORT int EventToCore(InternalEvent *event, xEvent **core, int *count);
_X_EXPORT int EventToXI(InternalEvent *ev, xEvent **xi, int *count);
_X_EXPORT int EventToXI2(InternalEvent *ev, xEvent **xi);