diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-08-05 16:21:34 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2022-08-16 23:08:10 +0300 |
commit | 0acbca5d1a9ca5aad361dfc2807f3822223c739d (patch) | |
tree | bc8983ca84381a42a716021889adc01e0607853a /src/ivi-compositor.h | |
parent | 7b2e820991ba434e5a1ccb2b0d355756474d23df (diff) |
agl-shell: Add split functionality into agl-shell protocolsandbox/mvlad/split-v3-update
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id19a1865baef6e7c9804a281d583a4ac19421851
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r-- | src/ivi-compositor.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index dff11b9..11e7290 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -104,6 +104,8 @@ struct ivi_compositor { struct wl_list split_pending_apps; struct wl_list remote_pending_apps; + struct wl_list pending_apps; /** pending_app::link */ + struct wl_listener destroy_listener; struct weston_layer hidden; @@ -175,6 +177,7 @@ enum ivi_surface_role { IVI_SURFACE_ROLE_SPLIT_V, IVI_SURFACE_ROLE_SPLIT_H, IVI_SURFACE_ROLE_REMOTE, + IVI_SURFACE_ROLE_TILE, }; struct ivi_bounding_box { @@ -182,6 +185,18 @@ struct ivi_bounding_box { int width; int height; }; +struct pending_app { + struct ivi_output *ioutput; + enum ivi_surface_role role; + char *app_id; + struct wl_list link; /** ivi_compositor::pending_apps */ +}; + +struct pending_app_tile { + struct pending_app base; + uint32_t orientation; +}; + struct pending_popup { struct ivi_output *ioutput; char *app_id; @@ -280,6 +295,8 @@ struct ivi_surface { HIDDEN, } state; + uint32_t orientation; + enum ivi_surface_role role; union { struct ivi_desktop_surface desktop; |