X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fivi-compositor.h;h=f3a51d675464f581e8326def8c66ff6538ec7606;hb=3950b7e787c19bd1917533081c8fb8d4331e4ef3;hp=3765f656c0f8e8d0b33edfcf259ae318b76957f6;hpb=2d7243208d3e455decd730e7e33ab2452b1a0508;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 3765f65..f3a51d6 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; @@ -174,6 +179,16 @@ 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);