#include <stdbool.h>
#include "config.h"
-#include <libweston-6/compositor-drm.h>
-#include <libweston-6/compositor.h>
-#include <libweston-6/windowed-output-api.h>
-#include <libweston-6/libweston-desktop.h>
+#include <libweston/backend-drm.h>
+#include <libweston/libweston.h>
+#include <libweston/windowed-output-api.h>
+#include <libweston-desktop/libweston-desktop.h>
#include "agl-shell-server-protocol.h"
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;
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;
/*
struct ivi_desktop_surface {
struct ivi_output *pending_output;
+ struct ivi_output *last_output;
};
struct ivi_background_surface {
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);
void
ivi_layout_desktop_committed(struct ivi_surface *surf);
+void
+ivi_layout_panel_committed(struct ivi_surface *surface);
+
#endif