mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Convert to using int32_t fixed point values on the wire.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#include "input.h"
|
||||
#include "events.h"
|
||||
|
||||
#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);
|
||||
|
||||
Reference in New Issue
Block a user