protocol: agl-shell-desktop: Send notification for application state change
[src/agl-compositor.git] / src / ivi-compositor.h
index bdd91ff..91b5340 100644 (file)
@@ -130,6 +130,7 @@ struct ivi_output {
        struct weston_geometry area;
 
        struct ivi_surface *active;
+       struct ivi_surface *previous_active;
 
        /* Temporary: only used during configuration */
        size_t add_len;
@@ -272,6 +273,9 @@ ivi_layout_set_position(struct ivi_surface *surface,
                        int32_t x, int32_t y,
                        int32_t width, int32_t height);
 
+struct ivi_surface *
+ivi_find_app(struct ivi_compositor *ivi, const char *app_id);
+
 void
 ivi_layout_commit(struct ivi_compositor *ivi);
 
@@ -290,4 +294,7 @@ ivi_layout_panel_committed(struct ivi_surface *surface);
 void
 ivi_layout_popup_committed(struct ivi_surface *surface);
 
+void
+ivi_layout_deactivate(struct ivi_compositor *ivi, const char *app_id);
+
 #endif