summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@intel.com>2013-04-09 11:48:06 -0300
committerKristian Høgsberg <krh@bitplanet.net>2013-04-09 15:05:32 -0400
commitb67c91d46d52782f35049c6df9d1aae92885fb7c (patch)
tree5426c4a08429f6ddb6404b2576f5b51625178ed5
parente5a1225bc436f86b5241152bb332014d64f5b446 (diff)
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 <tiago.vignatti@intel.com>
-rw-r--r--clients/tablet-shell.c3
1 files changed, 3 insertions, 0 deletions
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");