desktop: Do not attempt to advertise the clients if there are none 56/25556/2
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 12 Nov 2020 21:31:24 +0000 (23:31 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Tue, 17 Nov 2020 10:11:35 +0000 (12:11 +0200)
commit47d79bb6a1f1f31c538c5b98326c34d6af4fb12d
treeba0521682d769ff9d4d0f3881659e68eecd7e914
parent308078596396326017e18a8ae81cba89770c3f7a
desktop: Do not attempt to advertise the clients if there are none

Clients not binding to agl_shell_desktop will cause spurious signal
emits when they commit the changes. Make sure we only attempt to
advertise if the are clients.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I5c790b105b7c7f7d759e8a8fc2c64713df22d561
src/desktop.c