[PATCH weston] clients: tablet-shell: Wait for set_homescreen hits the server
Kristian Høgsberg
hoegsberg at gmail.com
Tue Apr 9 12:11:33 PDT 2013
On Tue, Apr 09, 2013 at 11:48:06AM -0300, Tiago Vignatti wrote:
> 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>
Thanks Tiago, that fixes both those bugs as far as I can see. It
looks like we broke that when we wl_registry was introduced, requiring
an extra round trip in the init sequence.
Kristian
> 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
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list