weston: add weston code [1/1]
PD#SWPL-169734
Problem:
add weston code to weston-10 branch
Solution:
add weston code to weston-10 branch
Verify:
ah212
Change-Id: I0f2c59a2c85251ba850e2de8758a07c4b9629b18
Signed-off-by: leng.fang <leng.fang@amlogic.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
diff --git a/libweston/compositor.c b/libweston/compositor.c
index 1670c50..66d4337 100644
--- a/libweston/compositor.c
+++ b/libweston/compositor.c
@@ -7514,7 +7514,7 @@
if (view->surface->resource) {
struct wl_resource *resource = view->surface->resource;
wl_client_get_credentials(wl_resource_get_client(resource),
- &pid, NULL, NULL);
+ &pid, NULL, NULL);
surface_id = wl_resource_get_id(view->surface->resource);
}
@@ -7898,7 +7898,7 @@
weston_layer_fini(&ec->cursor_layer);
if (!wl_list_empty(&ec->layer_list))
- weston_log("BUG: layer_list is not empty after shutdown. Calls to weston_layer_fini() are missing somwhere.\n");
+ weston_log("BUG: layer_list is not empty after shutdown. Calls to weston_layer_fini() are missing somewhere.\n");
}
/** weston_compositor_exit_with_code