diff options
author | Tomohito Esaki <etom@igel.co.jp> | 2022-07-06 15:54:33 +0900 |
---|---|---|
committer | Tomohito Esaki <etom@igel.co.jp> | 2022-09-29 11:08:55 +0900 |
commit | 036a76e3ebe949e47259af2c57524e9a10450556 (patch) | |
tree | 319706b35b4fcb61df57eec0b958b53622bfdbd2 /ivi-shell | |
parent | 9cdb7c74505cb6896663e3a7fc3ad14cab828ca7 (diff) | |
download | weston-036a76e3ebe949e47259af2c57524e9a10450556.tar.gz |
hmi-controller: don't add surface to layer in mode_random_replace()
There is no need to call layer_add_surface() in mode_random_replace()
because the surface has already been added to the layer. Rather, calling
layer_add_surface() has the issue that the child surface is displayed
below the parent surface.
Signed-off-by: Tomohito Esaki <etom@igel.co.jp>
Diffstat (limited to 'ivi-shell')
-rw-r--r-- | ivi-shell/hmi-controller.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ivi-shell/hmi-controller.c b/ivi-shell/hmi-controller.c index 8ae2230b..509ea73c 100644 --- a/ivi-shell/hmi-controller.c +++ b/ivi-shell/hmi-controller.c @@ -438,8 +438,6 @@ mode_random_replace(struct hmi_controller *hmi_ctrl, surface_y, surface_width, surface_height); - - hmi_ctrl->interface->layer_add_surface(layers[layer_idx]->ivilayer, ivisurf); } free(layers); |