From: Marius Vlad Date: Thu, 2 Mar 2023 17:05:51 +0000 (+0200) Subject: shell: Reset normal state when getting back to maximized X-Git-Tag: 17.90.0~38 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=9eb8ca6ac7473107ebe391c2f78543e92e461240;p=src%2Fagl-compositor.git 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 --- 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);