#include <stdbool.h>
#include "config.h"
+#include <weston.h>
#include <libweston/backend-drm.h>
#include <libweston/libweston.h>
#include <libweston/windowed-output-api.h>
-#include <libweston-desktop/libweston-desktop.h>
+#include <libweston/desktop.h>
#include "remote.h"
struct ivi_compositor {
struct weston_compositor *compositor;
+ struct weston_backend *backend;
struct weston_config *config;
struct ivi_output_config *parsed_options;
bool activate_by_default;
bool keep_pending_surfaces;
+ struct wl_listener screenshot_auth;
+
/*
* Options parsed from command line arugments.
* Overrides what is found in the config file.
struct fullscreen_view {
struct ivi_surface *fs;
struct wl_listener fs_destroy;
+ struct weston_buffer_reference *buffer_ref;
} fullscreen_view;
struct wl_listener output_destroy;
shell_send_app_state(struct ivi_compositor *ivi, const char *app_id,
enum agl_shell_app_state state);
void
-ivi_layout_destroy_saved_outputs(struct ivi_compositor *ivi);
+ivi_layout_restore(struct ivi_compositor *ivi, struct ivi_output *n_output);
+
+void
+ivi_layout_save(struct ivi_compositor *ivi, struct ivi_output *output);
struct weston_output *
get_default_output(struct weston_compositor *compositor);
_ivi_set_shell_surface_split(struct ivi_surface *surface, struct ivi_output *output,
uint32_t orientation, uint32_t width, int32_t sticky,
bool to_activate);
+struct ivi_output_config *
+ivi_init_parsed_options(struct weston_compositor *compositor);
+
+void
+ivi_process_destroy(struct wet_process *process, int status, bool call_cleanup);
+
+void
+create_black_curtain_view(struct ivi_output *output);
#endif