diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-03-01 15:07:32 +0100 |
---|---|---|
committer | ronan Le Martret <ronan@iot.bzh> | 2017-03-19 19:55:33 +0000 |
commit | 864c74f41acc2aa29694fcd6698bc58c4414bee4 (patch) | |
tree | 8956ce5dde32002d41f842052aa94c454263cc73 /meta-ivi-common/recipes-graphics/wayland/wayland-ivi-extension/0001-Send-process-ID-that-created-surface-to-client.patch | |
parent | 5fba83e080ddaeed451b2520b7119551700fb4fe (diff) |
update wayland-ivi-extension to 1.11.0
* remove patch already present in wayland-ivi-extension upstream
* remove unused recipes wayland-ivi-extension 1.5.0
* wayland-ivi-extension_1.11.0.bb is a port of the recipes
wayland-ivi-extension_1.10.90.bb from layer meta-ivi.
* the wayland-ivi-extension_%.bbappend is the AGL part of the
wayland-ivi-extension.
patch -> commit id from upstream
0001-ivi-input-support-touch-and-pointer-on-subsurface.patch 183810b051a7a194bb260ff7db6c8a59ef44d18d
Bug-AGL: SPEC-411
Change-Id: I0f27d00803cb5c06b9f2621918118c985a8dd9d6
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-ivi-common/recipes-graphics/wayland/wayland-ivi-extension/0001-Send-process-ID-that-created-surface-to-client.patch')
-rw-r--r-- | meta-ivi-common/recipes-graphics/wayland/wayland-ivi-extension/0001-Send-process-ID-that-created-surface-to-client.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta-ivi-common/recipes-graphics/wayland/wayland-ivi-extension/0001-Send-process-ID-that-created-surface-to-client.patch b/meta-ivi-common/recipes-graphics/wayland/wayland-ivi-extension/0001-Send-process-ID-that-created-surface-to-client.patch deleted file mode 100644 index 5c29d90e2..000000000 --- a/meta-ivi-common/recipes-graphics/wayland/wayland-ivi-extension/0001-Send-process-ID-that-created-surface-to-client.patch +++ /dev/null @@ -1,43 +0,0 @@ -From f4adf64d979944aa80f1ba5dba4ed991b6620162 Mon Sep 17 00:00:00 2001 -From: Wataru Natsume <wnatsume@jp.adit-jv.com> -Date: Tue, 23 Feb 2016 11:14:53 +0900 -Subject: [PATCH] ivi-controller: Send process ID that created surface to - client. - -createPid should be a pid of process that creates surface. - -Signed-off-by: Wataru Natsume <wnatsume@jp.adit-jv.com> ---- - weston-ivi-shell/src/ivi-controller-impl.c | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -diff --git a/weston-ivi-shell/src/ivi-controller-impl.c b/weston-ivi-shell/src/ivi-controller-impl.c -index f4e29ce..57bf5cc 100644 ---- a/weston-ivi-shell/src/ivi-controller-impl.c -+++ b/weston-ivi-shell/src/ivi-controller-impl.c -@@ -603,10 +603,21 @@ controller_surface_send_stats(struct wl_client *client, - struct wl_resource *resource) - { - struct ivisurface *ivisurf = wl_resource_get_user_data(resource); -+ struct weston_surface *surface; -+ struct wl_client* target_client; - pid_t pid; - uid_t uid; - gid_t gid; -- wl_client_get_credentials(client, &pid, &uid, &gid); -+ -+ /* Get pid that created surface */ -+ surface = ivi_extension_surface_get_weston_surface(ivisurf->shell, -+ ivisurf->layout_surface); -+ if (!surface) -+ return; -+ -+ target_client = wl_resource_get_client(surface->resource); -+ -+ wl_client_get_credentials(target_client, &pid, &uid, &gid); - - ivi_controller_surface_send_stats(resource, 0, 0, - ivisurf->update_count, pid, ""); --- -1.8.3.1 - |