clients: tablet-shell: Wait for set_homescreen hits the server
authorTiago Vignatti <tiago.vignatti@intel.com>
Tue, 9 Apr 2013 14:48:06 +0000 (11:48 -0300)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 9 Apr 2013 19:05:32 +0000 (15:05 -0400)
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 <tiago.vignatti@intel.com>
clients/tablet-shell.c

index f756cbc..99d66f2 100644 (file)
@@ -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");