summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas@radix.lt>2020-10-10 02:51:35 +0300
committerPeter Hutterer <peter.hutterer@who-t.net>2020-11-25 04:20:22 +0000
commit8bd8b3af1931629db548d39bb390edbef4315b0b (patch)
tree0830b1f4f5ef6a08cdba5b6f817f45d58e5b3f05 /include
parentf6e0bf68333f7edb02e3b937bc164f6591da2320 (diff)
dix: Rename LISTENER_* to TOUCH_LISTENER_*
Diffstat (limited to 'include')
-rw-r--r--include/input.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/include/input.h b/include/input.h
index 8732890a0..78c8246aa 100644
--- a/include/input.h
+++ b/include/input.h
@@ -555,20 +555,21 @@ extern _X_EXPORT InputAttributes *DuplicateInputAttributes(InputAttributes *
extern _X_EXPORT void FreeInputAttributes(InputAttributes * attrs);
enum TouchListenerState {
- LISTENER_AWAITING_BEGIN = 0, /**< Waiting for a TouchBegin event */
- LISTENER_AWAITING_OWNER, /**< Waiting for a TouchOwnership event */
- LISTENER_EARLY_ACCEPT, /**< Waiting for ownership, has already
- accepted */
- LISTENER_IS_OWNER, /**< Is the current owner, hasn't accepted */
- LISTENER_HAS_ACCEPTED, /**< Is the current owner, has accepted */
- LISTENER_HAS_END, /**< Has already received the end event */
+ TOUCH_LISTENER_AWAITING_BEGIN = 0, /**< Waiting for a TouchBegin event */
+ TOUCH_LISTENER_AWAITING_OWNER, /**< Waiting for a TouchOwnership event */
+ TOUCH_LISTENER_EARLY_ACCEPT, /**< Waiting for ownership, has already
+ accepted */
+ TOUCH_LISTENER_IS_OWNER, /**< Is the current owner, hasn't
+ accepted */
+ TOUCH_LISTENER_HAS_ACCEPTED, /**< Is the current owner, has accepted */
+ TOUCH_LISTENER_HAS_END, /**< Has already received the end event */
};
enum TouchListenerType {
- LISTENER_GRAB,
- LISTENER_POINTER_GRAB,
- LISTENER_REGULAR,
- LISTENER_POINTER_REGULAR,
+ TOUCH_LISTENER_GRAB,
+ TOUCH_LISTENER_POINTER_GRAB,
+ TOUCH_LISTENER_REGULAR,
+ TOUCH_LISTENER_POINTER_REGULAR,
};
extern void TouchInitDDXTouchPoint(DeviceIntPtr dev,