summaryrefslogtreecommitdiffstats
path: root/src/layout.c
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2024-02-09 12:11:14 +0200
committerMarius Vlad <marius.vlad@collabora.com>2024-02-22 13:51:33 +0000
commit3d6199ee18b4807a82c4181d829052029d1ba350 (patch)
treec0e818f45735fdb8ff83aefc00aa97cff54d03ba /src/layout.c
parent70a2d75e8e35d94bf2b1aef430ac7ed8cd3d96bc (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/layout.c')
-rw-r--r--src/layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout.c b/src/layout.c
index 95d3e54..7a2c9ac 100644
--- a/src/layout.c
+++ b/src/layout.c
@@ -1067,7 +1067,7 @@ ivi_layout_reset_split_surfaces(struct ivi_compositor *ivi)
weston_layer_entry_insert(&ivi->normal.view_list, &ev->layer_link);
- _ivi_set_shell_surface_split(output->previous_active, NULL,
+ _ivi_set_shell_surface_split(output->previous_active, NULL, 0,
AGL_SHELL_TILE_ORIENTATION_NONE, false);
if (output->active == ivisurf) {
@@ -1075,7 +1075,7 @@ ivi_layout_reset_split_surfaces(struct ivi_compositor *ivi)
}
}
- _ivi_set_shell_surface_split(ivisurf, NULL,
+ _ivi_set_shell_surface_split(ivisurf, NULL, 0,
AGL_SHELL_TILE_ORIENTATION_NONE, false);
}