From 1304d412eb2bcefd4733539213ecb9b6ca39a605 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 4 May 2022 11:12:54 +0300 Subject: shell: Do not set none role for applications w/o appid With commit 'layout: Send dimensions when setting up property as fullscreen' we made so that fullscreen applications will receive the configure event right from the beginning but that changed a bit the way we handled applications that do not set-up an appid before doing the initial wl_surface.commit. Avoid doing that such that applications do not need to go through a resize. Signed-off-by: Marius Vlad Change-Id: I91a9ab97ff5e30d3a86cda499d394c1a9fcde338 --- src/shell.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/shell.c b/src/shell.c index d91570f..dc857fc 100644 --- a/src/shell.c +++ b/src/shell.c @@ -638,11 +638,6 @@ ivi_check_pending_surface_desktop(struct ivi_surface *surface, const char *app_id = weston_desktop_surface_get_app_id(surface->dsurface); - if (!app_id) { - *role = IVI_SURFACE_ROLE_NONE; - return; - } - role_pending_list = &ivi->popup_pending_apps; wl_list_for_each(p_popup, role_pending_list, link) { if (!strcmp(app_id, p_popup->app_id)) { -- cgit 1.2.3-korg