/* local function prototypes */
static void _ecore_wl_input_seat_handle_capabilities(void *data, struct wl_seat *seat, enum wl_seat_capability caps);
+static void _ecore_wl_input_seat_handle_name(void *data, struct wl_seat *seat, char *name);
static void _ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy);
static void _ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, struct wl_surface *surface);
static const struct wl_seat_listener _ecore_wl_seat_listener =
{
_ecore_wl_input_seat_handle_capabilities,
- NULL // _ecore_wl_input_seat_handle_name
+ _ecore_wl_input_seat_handle_name
};
static const struct wl_data_device_listener _ecore_wl_data_listener =
_ecore_wl_input_setup(input);
input->seat =
- wl_registry_bind(ewd->wl.registry, id, &wl_seat_interface, 1);
+ wl_registry_bind(ewd->wl.registry, id, &wl_seat_interface, 4);
ewd->inputs = eina_inlist_append(ewd->inputs, EINA_INLIST_GET(input));
wl_seat_add_listener(input->seat,
}
static void
+_ecore_wl_input_seat_handle_name(void *data, struct wl_seat *seat, char *name)
+{
+ /* We don't care about the name. */
+ LOGFN(__FILE__, __LINE__, __FUNCTION__);
+}
+
+static void
_ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int timestamp, wl_fixed_t sx, wl_fixed_t sy)
{
Ecore_Wl_Input *input;