IVI_SURFACE_ROLE_REMOTE,
};
+struct ivi_bounding_box {
+ int x; int y;
+ int width; int height;
+};
+
struct pending_popup {
struct ivi_output *ioutput;
char *app_id;
int x; int y;
+ struct ivi_bounding_box bb;
struct wl_list link; /** ivi_compositor::popup_pending_surfaces */
};
struct ivi_popup_surface {
struct ivi_output *output;
- int x;
- int y;
+ int x; int y; /* initial position */
+ struct ivi_bounding_box bb; /* bounding box */
};
struct ivi_fullscreen_surface {
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);
const char *
ivi_layout_get_surface_role_name(struct ivi_surface *surf);
+void
+ivi_set_pending_desktop_surface_remote(struct ivi_output *ioutput,
+ const char *app_id);
+
+struct ivi_output *
+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);
+
#endif