From b67c91d46d52782f35049c6df9d1aae92885fb7c Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Tue, 9 Apr 2013 11:48:06 -0300 Subject: [PATCH] clients: tablet-shell: Wait for set_homescreen hits the server This relates to: https://bugs.freedesktop.org/show_bug.cgi?id=57634 https://bugs.freedesktop.org/show_bug.cgi?id=57637 Signed-off-by: Tiago Vignatti --- clients/tablet-shell.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/tablet-shell.c b/clients/tablet-shell.c index f756cbc8..99d66f2b 100644 --- a/clients/tablet-shell.c +++ b/clients/tablet-shell.c @@ -473,6 +473,9 @@ int main(int argc, char *argv[]) tablet.homescreen = homescreen_create(&tablet); tablet_shell_set_homescreen(tablet.tablet_shell, window_get_wl_surface(tablet.homescreen->window)); + + wl_display_roundtrip (display_get_display(tablet.display)); + wl_list_init(&tablet.homescreen->launcher_list); config_file = config_file_path("weston.ini");