mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 21:38:04 +02:00
ivi-shell: print available description of desktop surface
set label func for desktop surface, then it can print available description of desktop surface Signed-off-by: Jeri Li <jeri.li>
This commit is contained in:
parent
088c8ec21b
commit
0f969fd6b0
1 changed files with 3 additions and 0 deletions
|
|
@ -51,6 +51,7 @@
|
|||
#include "shared/helpers.h"
|
||||
#include "shared/xalloc.h"
|
||||
#include "frontend/weston.h"
|
||||
#include <libweston/shell-utils.h>
|
||||
|
||||
/* Representation of ivi_surface protocol object. */
|
||||
struct ivi_shell_surface
|
||||
|
|
@ -646,6 +647,8 @@ desktop_surface_added(struct weston_desktop_surface *surface,
|
|||
|
||||
ivisurf = xzalloc(sizeof *ivisurf);
|
||||
|
||||
weston_surface_set_label_func(weston_surf, weston_shell_utils_surface_get_label);
|
||||
|
||||
ivisurf->shell = shell;
|
||||
ivisurf->id_surface = IVI_INVALID_ID;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue