This patch adds support for wl_seat_listener version 4 (which is used
in wayland 1.11). We do not actually make use of the seat callback for
name yet, but when the rest of multi-seat issues are sorted, we may
need this.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
}
}
+static void
+_seat_cb_name(void *data EINA_UNUSED, struct wl_seat *seat EINA_UNUSED, const char *name EINA_UNUSED)
+{
+ /* NB: No-Op as we don't care about seat name right now.
+ *
+ * This will likely change as we hash out remaining multi-seat issues */
+}
+
static const struct wl_seat_listener _seat_listener =
{
_seat_cb_capabilities,
- NULL
+ _seat_cb_name,
};
static void
_ecore_wl2_input_cursor_setup(input);
input->wl.seat =
- wl_registry_bind(display->wl.registry, id, &wl_seat_interface, 1);
+ wl_registry_bind(display->wl.registry, id, &wl_seat_interface, 4);
display->inputs =
eina_inlist_append(display->inputs, EINA_INLIST_GET(input));