desktop: Don't attempt to send the output name 73/28873/2
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 10 May 2023 20:04:02 +0000 (23:04 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 10 May 2023 20:11:35 +0000 (20:11 +0000)
Commit 'desktop: Look for app_ids after the initial commit'
assumed we have the ability to send out the output name to the shell
client, when in fact we do not.

Bug-AGL: SPEC-4759
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ibfb85dea15a948a9171ee249f1f326009252d1a2

src/desktop.c

index 0f72794..e492414 100644 (file)
@@ -400,11 +400,8 @@ desktop_committed(struct weston_desktop_surface *dsurface,
                wl_list_remove(&surface->link);
                wl_list_init(&surface->link);
 
-               if ((remote_output = ivi_layout_find_with_app_id(app_id, ivi))) {
+               if ((remote_output = ivi_layout_find_with_app_id(app_id, ivi)))
                        ivi_set_pending_desktop_surface_remote(remote_output, app_id);
-                       shell_send_app_on_output(ivi, app_id, remote_output->output->name);
-               }
-
 
                ivi_check_pending_desktop_surface(surface);
                surface->checked_pending = true;