libinput: Add libinput_event_gesture forward declaration

Closes: https://gitlab.freedesktop.org/libinput/libinput/-/issues/1189
(cherry picked from commit a4ea1e2d97)

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1326>
This commit is contained in:
José Expósito 2025-10-03 12:53:51 +02:00 committed by Peter Hutterer
parent dec78aa950
commit d0e47c4b72

View file

@ -144,6 +144,20 @@ struct libinput_event_pointer;
*/
struct libinput_event_touch;
/**
* @ingroup event_gesture
* @struct libinput_event_gesture
*
* A gesture event representing a swipe, pinch or hold gesture. Valid event
* types for this event are @ref LIBINPUT_EVENT_GESTURE_SWIPE_BEGIN, @ref
* LIBINPUT_EVENT_GESTURE_SWIPE_UPDATE, @ref LIBINPUT_EVENT_GESTURE_SWIPE_END,
* @ref LIBINPUT_EVENT_GESTURE_PINCH_BEGIN, @ref
* LIBINPUT_EVENT_GESTURE_PINCH_UPDATE, @ref LIBINPUT_EVENT_GESTURE_PINCH_END,
* @ref LIBINPUT_EVENT_GESTURE_HOLD_BEGIN and @ref
* LIBINPUT_EVENT_GESTURE_HOLD_END.
*/
struct libinput_event_gesture;
/**
* @ingroup event_tablet
* @struct libinput_event_tablet_tool