summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorWalter Lozano <walter.lozano@collabora.com>2020-09-23 13:31:23 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-10-15 09:33:47 +0000
commitfe771c084c2f0192ca08dd3b7f85088960703e36 (patch)
treead8cb121acf994dc9bc8f61281a393641f8366ae /src/main.c
parentabe3abc327b7d770b81f976d79f12112010e6a4e (diff)
shell: Advertise app when app_id is available
When using GTK-3 to create apps, the framework issues set_parent_id which forces a surface to be added even before the app_id is set. This causes the compositor to fail to advertise the app. This patch tries to overcome this issue by checking on surface commit if the surface was previously advertised, and do it if it was not. Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Change-Id: I4e5fec82c1008c30d8ae7d213d85a82e39c404c3
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2cefcd6..e85d788 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1392,7 +1392,6 @@ int main(int argc, char *argv[])
wl_list_init(&ivi.remote_pending_apps);
wl_list_init(&ivi.desktop_clients);
-
/* Prevent any clients we spawn getting our stdin */
os_fd_set_cloexec(STDIN_FILENO);