desktop: Reset the active surface
[src/agl-compositor.git] / src / ivi-compositor.h
index 68cbbdf..3d7bd25 100644 (file)
@@ -62,6 +62,10 @@ struct ivi_compositor {
        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;
@@ -123,6 +127,7 @@ enum ivi_surface_role {
 
 struct ivi_desktop_surface {
        struct ivi_output *pending_output;
+       struct ivi_output *last_output;
 };
 
 struct ivi_background_surface {
@@ -232,4 +237,7 @@ ivi_layout_activate(struct ivi_output *output, const char *app_id);
 void
 ivi_layout_desktop_committed(struct ivi_surface *surf);
 
+void
+ivi_layout_panel_committed(struct ivi_surface *surface);
+
 #endif