diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-05-04 11:12:54 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2022-05-04 11:25:15 +0300 |
commit | 1304d412eb2bcefd4733539213ecb9b6ca39a605 (patch) | |
tree | 93e7754f617618ffea289748a51758239fba8493 | |
parent | 43bdf9a42bac33df174d6ac7ff1ab2e15441c7b5 (diff) |
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 <marius.vlad@collabora.com>
Change-Id: I91a9ab97ff5e30d3a86cda499d394c1a9fcde338
-rw-r--r-- | src/shell.c | 5 |
1 files changed, 0 insertions, 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)) { |