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=ebbcc1751f1c849f28f38cf5d2106ef6fd5b6f10;hpb=f980c0d90329bf83a082c966d69b0015e34c218b;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index ebbcc17..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 */ @@ -155,6 +164,10 @@ struct ivi_output { */ struct weston_geometry area; struct weston_geometry area_saved; + /* + * Potential user-specified non-default activation area + */ + struct weston_geometry area_activation; struct ivi_surface *active; struct ivi_surface *previous_active; @@ -347,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); @@ -480,5 +493,11 @@ void ivi_shell_activate_surface(struct ivi_surface *ivi_surf, struct ivi_shell_seat *ivi_seat, uint32_t flags); +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