X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fivi-compositor.h;h=5d210fb0b4179fc7aeb0fbbd7239560b3e1999dd;hb=191dc29c7d05d8af9aa2c659275436ec4c4495c0;hp=3765f656c0f8e8d0b33edfcf259ae318b76957f6;hpb=2d7243208d3e455decd730e7e33ab2452b1a0508;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 3765f65..5d210fb 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -27,6 +27,7 @@ #define IVI_COMPOSITOR_H #include +#include "config.h" #include #include @@ -61,6 +62,10 @@ struct ivi_compositor { const struct weston_drm_output_api *drm_api; struct wl_global *agl_shell; + struct { + int activate_apps_by_default; /* switches once xdg top level has been 'created' */ + } quirks; + struct { struct wl_client *client; struct wl_resource *resource; @@ -98,6 +103,12 @@ struct ivi_output { struct ivi_surface *left; struct ivi_surface *right; + /* for the black surface */ + struct fullscreen_view { + struct ivi_surface *fs; + struct wl_listener fs_destroy; + } fullscreen_view; + struct wl_listener output_destroy; /* @@ -122,6 +133,7 @@ enum ivi_surface_role { struct ivi_desktop_surface { struct ivi_output *pending_output; + struct ivi_output *last_output; }; struct ivi_background_surface { @@ -174,9 +186,22 @@ struct ivi_shell_client { struct ivi_compositor * to_ivi_compositor(struct weston_compositor *ec); +#ifdef HAVE_SYSTEMD +int +ivi_agl_systemd_notify(struct ivi_compositor *ivi); +#else +static int +ivi_agl_systemd_notify(struct ivi_compositor *ivi) +{ +} +#endif + int ivi_shell_init(struct ivi_compositor *ivi); +void +ivi_shell_init_black_fs(struct ivi_compositor *ivi); + int ivi_shell_create_global(struct ivi_compositor *ivi); @@ -221,4 +246,7 @@ ivi_layout_activate(struct ivi_output *output, const char *app_id); void ivi_layout_desktop_committed(struct ivi_surface *surf); +void +ivi_layout_panel_committed(struct ivi_surface *surface); + #endif