layout: Determine xwayland surface in a generic fashion
[src/agl-compositor.git] / src / ivi-compositor.h
index 207fd82..6b6204e 100644 (file)
@@ -117,6 +117,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;
@@ -304,6 +306,12 @@ struct ivi_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 {
@@ -510,4 +518,7 @@ ivi_surface_count_one(struct ivi_output *ivi_output,
 int
 parse_activation_area(const char *geometry, struct ivi_output *output);
 
+bool
+is_shell_surface_xwayland(struct ivi_surface *surf);
+
 #endif