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:
Quentin Glidic
2016-08-12 10:41:37 +02:00
committed by Jonas Ådahl
parent 5ac91a15e8
commit 9c5dd7ef70
6 changed files with 1258 additions and 1 deletions
+6
View File
@@ -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 *,
+2
View File
@@ -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,