Init Xwayland
[src/agl-compositor.git] / src / ivi-compositor.h
index f755e67..41978ea 100644 (file)
@@ -118,6 +118,8 @@ struct ivi_compositor {
        struct wl_list remote_pending_apps;
 
        struct wl_listener destroy_listener;
+       struct wl_listener transform_listener;
+       const struct weston_xwayland_surface_api *xwayland_surface_api;
 
        struct weston_layer hidden;
        struct weston_layer background;
@@ -316,6 +318,12 @@ struct ivi_surface {
        struct ivi_surface_waltham waltham_surface;
        struct wl_listener listener_advertise_app;
        struct wl_signal signal_advertise_app;
+
+       struct {
+               bool is_set;
+               int32_t x;
+               int32_t y;
+       } xwayland;
 };
 
 struct ivi_shell_seat {
@@ -416,6 +424,8 @@ ivi_layout_activate_by_surf(struct ivi_output *output, struct ivi_surface *surf)
 
 void
 ivi_layout_desktop_committed(struct ivi_surface *surf);
+void
+ivi_layout_remote_committed(struct ivi_surface *surf);
 
 void
 ivi_layout_popup_committed(struct ivi_surface *surface);
@@ -513,4 +523,11 @@ get_default_output(struct weston_compositor *compositor);
 struct weston_output *
 get_focused_output(struct weston_compositor *compositor);
 
+void
+shell_send_app_on_output(struct ivi_compositor *ivi, const char *app_id,
+                        const char *output_name);
+bool
+ivi_surface_count_one(struct ivi_output *ivi_output,
+                     enum ivi_surface_role role);
+
 #endif