layout: Check app_id for remote type of surfaces
[src/agl-compositor.git] / src / ivi-compositor.h
index 6969a7d..0c9d604 100644 (file)
@@ -53,6 +53,7 @@ struct ivi_compositor {
        struct wl_listener heads_changed;
 
        bool init_failed;
+       bool hide_cursor;
 
        /*
         * Options parsed from command line arugments.
@@ -85,6 +86,7 @@ struct ivi_compositor {
        struct wl_list surfaces; /* ivi_surface.link */
 
        struct weston_desktop *desktop;
+       struct wl_listener seat_created_listener;
        struct ivi_policy *policy;
 
        struct wl_list pending_surfaces;
@@ -233,6 +235,7 @@ struct ivi_surface {
        struct weston_view *view;
 
        struct wl_list link;
+       int focus_count;
 
        struct {
                enum ivi_surface_flags flags;
@@ -240,6 +243,7 @@ struct ivi_surface {
                int32_t width, height;
        } pending;
        bool activated_by_default;
+       bool advertised_on_launch;
 
        enum ivi_surface_role role;
        union {
@@ -251,6 +255,9 @@ struct ivi_surface {
                struct ivi_split_surface split;
                struct ivi_remote_surface remote;
        };
+
+       struct wl_listener listener_advertise_app;
+       struct wl_signal signal_advertise_app;
 };
 
 struct ivi_shell_client {
@@ -377,5 +384,16 @@ ivi_layout_find_with_app_id(const char *app_id, struct ivi_compositor *ivi);
 void
 shell_advertise_app_state(struct ivi_compositor *ivi, const char *app_id,
                          const char *data, uint32_t app_state);
+void
+ivi_screenshooter_create(struct ivi_compositor *ivi);
+
+void
+ivi_seat_init(struct ivi_compositor *ivi);
 
+void
+ivi_seat_reset_caps_sent(struct ivi_compositor *ivi);
+
+void
+agl_shell_desktop_advertise_application_id(struct ivi_compositor *ivi,
+                                          struct ivi_surface *surface);
 #endif