From: Sebastian Wick Date: Fri, 1 Nov 2019 01:15:10 +0000 (+0100) Subject: clients/window: bump wl_seat version to 6 X-Git-Tag: upstream/9.0.0~315 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b64fbd9654efced970c36638a9b6527e24115cd;p=platform%2Fupstream%2Fweston.git clients/window: bump wl_seat version to 6 Hook up listeners for touch shape and touch orientation. Signed-off-by: Sebastian Wick --- diff --git a/clients/window.c b/clients/window.c index b0083459..1baab32e 100644 --- a/clients/window.c +++ b/clients/window.c @@ -3374,12 +3374,24 @@ touch_handle_cancel(void *data, struct wl_touch *wl_touch) } } +void touch_handle_shape(void *data, struct wl_touch *wl_touch, int32_t id, + wl_fixed_t major, wl_fixed_t minor) +{ +} + +void touch_handle_orientation(void *data, struct wl_touch *wl_touch, int32_t id, + wl_fixed_t orientation) +{ +} + static const struct wl_touch_listener touch_listener = { touch_handle_down, touch_handle_up, touch_handle_motion, touch_handle_frame, touch_handle_cancel, + touch_handle_shape, + touch_handle_orientation, }; static void @@ -5795,7 +5807,7 @@ static void display_add_input(struct display *d, uint32_t id, int display_seat_version) { struct input *input; - int seat_version = MIN(display_seat_version, 5); + int seat_version = MIN(display_seat_version, 6); input = xzalloc(sizeof *input); input->display = d;