mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
kdrive: export _KdEnqueuePointerEvent()
Allow it to be used by other places, eg. upcoming Xfbdev. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
9ce9eb9e42
commit
7213249f14
@@ -445,6 +445,9 @@ void
|
||||
KdEnqueuePointerEvent(KdPointerInfo * pi, unsigned long flags, int rx, int ry,
|
||||
int rz);
|
||||
|
||||
void _KdEnqueuePointerEvent(KdPointerInfo * pi, int type, int x, int y, int z,
|
||||
int b, int absrel, Bool force);
|
||||
|
||||
void
|
||||
KdSetPointerMatrix(KdPointerMatrix *pointer);
|
||||
|
||||
|
||||
@@ -1524,9 +1524,6 @@ KdClassifyInput(KdPointerInfo * pi, int type, int x, int y, int z, int b)
|
||||
return keyboard;
|
||||
}
|
||||
|
||||
static void
|
||||
_KdEnqueuePointerEvent(KdPointerInfo * pi, int type, int x, int y, int z,
|
||||
int b, int absrel, Bool force);
|
||||
/* We return true if we're stealing the event. */
|
||||
static Bool
|
||||
KdRunMouseMachine(KdPointerInfo * pi, KdInputClass c, int type, int x, int y,
|
||||
@@ -1600,9 +1597,8 @@ KdHandlePointerEvent(KdPointerInfo * pi, int type, int x, int y, int z, int b,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
_KdEnqueuePointerEvent(KdPointerInfo * pi, int type, int x, int y, int z,
|
||||
int b, int absrel, Bool force)
|
||||
void _KdEnqueuePointerEvent(KdPointerInfo * pi, int type, int x, int y, int z,
|
||||
int b, int absrel, Bool force)
|
||||
{
|
||||
int valuators[3] = { x, y, z };
|
||||
ValuatorMask mask;
|
||||
|
||||
Reference in New Issue
Block a user