Export TouchEventRejected as TouchRejected
This function is mostly correct for early reject usage. With a small change to pass the client resource explicitly and making the TouchOwnership event optional, it is usable for all rejection scenarios. This change exports it for use outside Xi/exevents.c and modifies the name accordingly. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Peter Hutterer
parent
19073425e5
commit
192b2c9a2e
@@ -323,6 +323,13 @@ SendEventToAllWindows(
|
||||
xEvent * /* ev */,
|
||||
int /* count */);
|
||||
|
||||
extern void
|
||||
TouchRejected(
|
||||
DeviceIntPtr /* sourcedev */,
|
||||
TouchPointInfoPtr /* ti */,
|
||||
XID /* resource */,
|
||||
TouchOwnershipEvent * /* ev */);
|
||||
|
||||
extern _X_HIDDEN void XI2EventSwap(
|
||||
xGenericEvent * /* from */,
|
||||
xGenericEvent * /* to */);
|
||||
|
||||
Reference in New Issue
Block a user