Skip to content
Snippets Groups Projects
Commit b5dbb7a7 authored by Marius Vlad's avatar Marius Vlad
Browse files

kiosk-shell: Allow to retrieve surface labels


Nothing special, but allows scene-graph to display surface labels.

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 2be09373
No related branches found
No related tags found
2 merge requests!905color-lcms: Introduction and implementation of LCMS plugin,!721shared/shell-utils: Create common helpers functions for shells
Pipeline #437866 passed
......@@ -602,11 +602,14 @@ desktop_surface_added(struct weston_desktop_surface *desktop_surface,
{
struct kiosk_shell *shell = data;
struct kiosk_shell_surface *shsurf;
struct weston_surface *surface =
weston_desktop_surface_get_surface(desktop_surface);
shsurf = kiosk_shell_surface_create(shell, desktop_surface);
if (!shsurf)
return;
weston_surface_set_label_func(surface, surface_get_label);
kiosk_shell_surface_set_fullscreen(shsurf, NULL);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment