layout: Add the ability to deactivate fullscreen surfaces
[src/agl-compositor.git] / src / ivi-compositor.h
index 30b05e3..4c04ec7 100644 (file)
@@ -97,6 +97,7 @@ struct ivi_compositor {
                struct wl_client *client;
                struct wl_resource *resource;
                bool doas_requested;
+               bool doas_requested_pending_bind;
                enum agl_shell_bound_status status;
        } shell_client_ext;
 
@@ -117,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;
@@ -304,6 +307,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 {
@@ -507,4 +516,10 @@ bool
 ivi_surface_count_one(struct ivi_output *ivi_output,
                      enum ivi_surface_role role);
 
+int
+parse_activation_area(const char *geometry, struct ivi_output *output);
+
+bool
+is_shell_surface_xwayland(struct ivi_surface *surf);
+
 #endif