GDK_SEAT_NOTE (seat, EVENTS, g_message ("touch cancel"));
}
+static void
+touch_handle_shape (void *data,
+ struct wl_touch *touch,
+ int32_t id,
+ wl_fixed_t major,
+ wl_fixed_t minor)
+{
+}
+
+static void
+touch_handle_orientation (void *data,
+ struct wl_touch *touch,
+ int32_t id,
+ wl_fixed_t orientation)
+{
+}
+
static void
emit_gesture_swipe_event (GdkWaylandSeat *seat,
GdkTouchpadGesturePhase phase,
touch_handle_up,
touch_handle_motion,
touch_handle_frame,
- touch_handle_cancel
+ touch_handle_cancel,
+ touch_handle_shape,
+ touch_handle_orientation,
};
static const struct zwp_pointer_gesture_swipe_v1_listener gesture_swipe_listener = {
{
struct wl_seat *seat;
- display_wayland->seat_version = MIN (version, 5);
+ display_wayland->seat_version = MIN (version, 6);
seat = wl_registry_bind (display_wayland->wl_registry,
id, &wl_seat_interface,
display_wayland->seat_version);