X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fivi-compositor.h;h=891c0937c3af45286e73ea37e2553e9d4a412b72;hb=refs%2Fheads%2Fsandbox%2Fmvlad%2Fswitch-to-grpc;hp=bf96fc7d60bab92e377bc7c1a142aaef11230edc;hpb=924473ef016ba8dcfa863861740be2289421313d;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index bf96fc7..891c093 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -81,14 +81,23 @@ struct ivi_compositor { struct wl_global *agl_shell; struct wl_global *agl_shell_desktop; + struct wl_global *agl_shell_ext; struct { struct wl_client *client; struct wl_resource *resource; + struct wl_resource *resource_ext; bool ready; enum agl_shell_bound_status status; } shell_client; + struct { + struct wl_client *client; + struct wl_resource *resource; + bool doas_requested; + enum agl_shell_bound_status status; + } shell_client_ext; + struct wl_list desktop_clients; /* desktop_client::link */ struct wl_list outputs; /* ivi_output.link */ @@ -351,7 +360,7 @@ int ivi_shell_create_global(struct ivi_compositor *ivi); int -ivi_launch_shell_client(struct ivi_compositor *ivi); +ivi_launch_shell_client(struct ivi_compositor *ivi, const char *cmd_section, struct wl_client **client); int ivi_desktop_init(struct ivi_compositor *ivi); @@ -487,4 +496,8 @@ ivi_shell_activate_surface(struct ivi_surface *ivi_surf, int sigchld_handler(int signal_number, void *data); +void +shell_send_app_state(struct ivi_compositor *ivi, const char *app_id, + enum agl_shell_app_state state); + #endif