[PATCH weston] clients: tablet-shell: Wait for set_homescreen hits the server

Tiago Vignatti tiago.vignatti at intel.com
Tue Apr 9 07:48:06 PDT 2013


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 at intel.com>
---
 clients/tablet-shell.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/clients/tablet-shell.c b/clients/tablet-shell.c
index f756cbc..99d66f2 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");
-- 
1.7.9.5



More information about the wayland-devel mailing list