X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fivi-compositor.h;h=c9258d1750396c7b20119acd0c6593744c1e0720;hb=refs%2Fchanges%2F64%2F28164%2F1;hp=fdf2bcbb2a63c85497b1748f28116655733ed64a;hpb=cac00851d454fcfe6b4e9f3353cfa4007f31c21e;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index fdf2bcb..c9258d1 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -147,6 +147,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; @@ -271,6 +275,7 @@ struct ivi_surface { NORMAL, RESIZING, FULLSCREEN, + HIDDEN, } state; enum ivi_surface_role role; @@ -453,4 +458,18 @@ ivi_compositor_destroy_pending_surfaces(struct ivi_compositor *ivi); void ivi_shell_finalize(struct ivi_compositor *ivi); +struct ivi_surface * +get_ivi_shell_surface(struct weston_surface *surface); + +struct ivi_shell_seat * +get_ivi_shell_seat(struct weston_seat *seat); + +struct weston_seat * +get_ivi_shell_weston_first_seat(struct ivi_compositor *ivi); + +void +ivi_shell_activate_surface(struct ivi_surface *ivi_surf, + struct ivi_shell_seat *ivi_seat, + uint32_t flags); + #endif