From 9eb8ca6ac7473107ebe391c2f78543e92e461240 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Thu, 2 Mar 2023 19:05:51 +0200 Subject: [PATCH] shell: Reset normal state when getting back to maximized When resetting back to normal, maximized state, reset also the state, just in case we might to check it up latter on. Bug-AGL: SPEC-4673 Signed-off-by: Marius Vlad Change-Id: I0107e6963c01bde22a5a3ab30f392cb618a4f258 --- src/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell.c b/src/shell.c index fbd1b72..a3eb31f 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1532,6 +1532,7 @@ shell_set_app_normal(struct wl_client *client, struct wl_resource *shell_res, /* change the role */ surf->role = IVI_SURFACE_ROLE_NONE; + surf->state = NORMAL; surf->desktop.pending_output = ivi_output; wl_list_remove(&surf->link); -- 2.16.6