diff options
author | 2024-02-09 12:11:14 +0200 | |
---|---|---|
committer | 2024-02-22 13:51:33 +0000 | |
commit | 3d6199ee18b4807a82c4181d829052029d1ba350 (patch) | |
tree | c0e818f45735fdb8ff83aefc00aa97cff54d03ba /src/ivi-compositor.h | |
parent | 70a2d75e8e35d94bf2b1aef430ac7ed8cd3d96bc (diff) |
shell/layout: Add implementation for the width param
This adds support for passing by the width argument such that users can
specify the width dimensions of the split window. Given that we might
another previous active window we also need to split that accordingly
depending on the orientation.
Bug-AGL: SPEC-4839
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I39239c1af0358eaa671146d0f36a3a334e945067
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r-- | src/ivi-compositor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 9f3cc47..90ec4d9 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -242,6 +242,7 @@ struct pending_app { struct pending_app_tile { struct pending_app base; uint32_t orientation; + uint32_t width; }; struct ivi_desktop_surface { @@ -543,6 +544,6 @@ ivi_layout_reset_split_surfaces(struct ivi_compositor *ivi); void _ivi_set_shell_surface_split(struct ivi_surface *surface, struct ivi_output *output, - uint32_t orientation, bool to_activate); + uint32_t orientation, uint32_t width, bool to_activate); #endif |