libweston-desktop: Implement xdg_shell_v6
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by: Jonas Ådahl <jadahl@gmail.com> Acked-by: Giulio Camuffo <giulio.camuffo@kdab.com> Differential Revision: https://phabricator.freedesktop.org/D1210
This commit is contained in:
committed by
Jonas Ådahl
parent
5ac91a15e8
commit
9c5dd7ef70
@@ -3344,6 +3344,12 @@ weston_surface_set_role(struct weston_surface *surface,
|
||||
return -1;
|
||||
}
|
||||
|
||||
WL_EXPORT const char *
|
||||
weston_surface_get_role(struct weston_surface *surface)
|
||||
{
|
||||
return surface->role_name;
|
||||
}
|
||||
|
||||
WL_EXPORT void
|
||||
weston_surface_set_label_func(struct weston_surface *surface,
|
||||
int (*desc)(struct weston_surface *,
|
||||
|
||||
@@ -1526,6 +1526,8 @@ weston_surface_set_role(struct weston_surface *surface,
|
||||
const char *role_name,
|
||||
struct wl_resource *error_resource,
|
||||
uint32_t error_code);
|
||||
const char *
|
||||
weston_surface_get_role(struct weston_surface *surface);
|
||||
|
||||
void
|
||||
weston_surface_set_label_func(struct weston_surface *surface,
|
||||
|
||||
Reference in New Issue
Block a user