diff options
-rw-r--r-- | src/desktop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/desktop.c b/src/desktop.c index 8fe6f7d..f7d11b1 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -268,7 +268,8 @@ desktop_committed(struct weston_desktop_surface *dsurface, surface->checked_pending = true; } - if (!surface->advertised_on_launch) + if (!surface->advertised_on_launch && + !wl_list_empty(&surface->ivi->desktop_clients)) wl_signal_emit(&surface->signal_advertise_app, surface); weston_compositor_schedule_repaint(surface->ivi->compositor); |