shell: Avoid advertising applications without app_id set
[src/agl-compositor.git] / src / ivi-compositor.h
index 79b2255..4708b5d 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;
@@ -333,6 +336,9 @@ ivi_layout_init(struct ivi_compositor *ivi, struct ivi_output *output);
 void
 ivi_layout_activate(struct ivi_output *output, const char *app_id);
 
+void
+ivi_layout_activate_by_surf(struct ivi_output *output, struct ivi_surface *surf);
+
 void
 ivi_layout_desktop_committed(struct ivi_surface *surf);
 
@@ -374,5 +380,13 @@ 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);
 
 #endif