Commit 133f95fd authored by Rui Matos's avatar Rui Matos

evdev: Add a conditional define guard to expose API

The evdev backend has always been excluded from Clutter's API
stability guarantee though in an informal way. This commit makes it
explicit by forcing users to define CLUTTER_ENABLE_COMPOSITOR_API.
parent b9abda52
......@@ -326,6 +326,12 @@ Release Notes for Clutter 1.18
libevdev and libgudev directly, but relies on libinput for discovering,
reading and processing input devices.
• The Clutter evdev input device backend was already considered
experimental and not subject to Clutter's API and ABI stabitility
guarantees. Starting from 1.18, users have to explicitly acknowldge
this by having to #define CLUTTER_ENABLE_COMPOSITOR_API to use its
public API.
Release Notes for Clutter 1.16
......@@ -31,6 +31,10 @@
#error "You need to define CLUTTER_ENABLE_COMPOSITOR_API before including clutter-evdev.h"
* ClutterOpenDeviceCallback:
* @path: the device path
......@@ -81,6 +85,7 @@ void clutter_evdev_set_pointer_constrain_callback (ClutterDeviceManager
void clutter_evdev_set_keyboard_map (ClutterDeviceManager *evdev,
struct xkb_keymap *keymap);
#endif /* __CLUTTER_EVDEV_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment