summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-05-04 11:12:54 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-05-26 15:24:38 +0300
commit0f98b6c74c79513294b4dd5acf8d1cafe4023304 (patch)
tree4322a0f9b20f9ff1cd53c2da5c0c5f893f1dd79b
parentd0f00d6241ec12423472865f3adc56a4c31c2701 (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 (cherry picked from commit 1304d412eb2bcefd4733539213ecb9b6ca39a605)
-rw-r--r--src/shell.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/shell.c b/src/shell.c
index bf14302..98d244f 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -626,11 +626,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)) {