From 9c326bd395b813babc7a4f569bb25f4d2a6411cb Mon Sep 17 00:00:00 2001 From: Nobuhiko Tanibata Date: Tue, 29 Jul 2014 14:01:05 +0900 Subject: [PATCH] Protocol, ilmControl, add weston-ivi-shell: Add device type to argument of input_focus functions. A parameter, device, is missing from protocol. It is needed for API spec. Signed-off-by: Nobuhiko Tanibata --- .../ilmControl/src/ilm_control_wayland_platform.c | 2 ++ protocol/ivi-controller.xml | 13 ++++++++++++- weston-ivi-shell/src/ivi-controller.c | 2 ++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c index e47ee2c..037e170 100644 --- a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c +++ b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c @@ -757,10 +757,12 @@ controller_surface_listener_content(void *data, static void controller_surface_listener_input_focus(void *data, struct ivi_controller_surface *controller, + uint32_t device, int32_t enabled) { (void)data; (void)controller; + (void)device; (void)enabled; } diff --git a/protocol/ivi-controller.xml b/protocol/ivi-controller.xml index d8a0211..7dfe4fa 100644 --- a/protocol/ivi-controller.xml +++ b/protocol/ivi-controller.xml @@ -1,4 +1,4 @@ - + @@ -270,6 +270,7 @@ surface will have input focus. If argument enabled is not 0, input focus for this surface is enabled. + @@ -279,9 +280,19 @@ this surface has no longer the input focus. If enbaled is not 0, this surface now has input focus enabled. + + + + + + + + + + diff --git a/weston-ivi-shell/src/ivi-controller.c b/weston-ivi-shell/src/ivi-controller.c index 3adbe01..40c01f7 100755 --- a/weston-ivi-shell/src/ivi-controller.c +++ b/weston-ivi-shell/src/ivi-controller.c @@ -809,10 +809,12 @@ controller_surface_destroy(struct wl_client *client, static void controller_surface_set_input_focus(struct wl_client *client, struct wl_resource *resource, + uint32_t device, int32_t enabled) { (void)client; (void)resource; + (void)device; (void)enabled; } -- 2.7.4