On Mon, Oct 08, 2012 at 10:49:04PM +0200, Jonas Ådahl wrote:
> The workspace state parameters were initialized after the first
> roundtrip. If a workspace manager state event was received during this
> roundtrip the state parameters were cleared leaving an incorrect state.

Thanks, applied.

Kristian

> Signed-off-by: Jonas Ådahl <[email protected]>
> ---
>  clients/window.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/clients/window.c b/clients/window.c
> index 9a75a46..aba1254 100644
> --- a/clients/window.c
> +++ b/clients/window.c
> @@ -3772,6 +3772,9 @@ display_create(int argc, char *argv[])
>               return NULL;
>       }
>  
> +     d->workspace = 0;
> +     d->workspace_count = 1;
> +
>       /* Set up listener so we'll catch all events. */
>       wl_display_add_global_listener(d->display,
>                                      display_handle_global, d);
> @@ -3794,9 +3797,6 @@ display_create(int argc, char *argv[])
>  
>       wl_list_init(&d->window_list);
>  
> -     d->workspace = 0;
> -     d->workspace_count = 1;
> -
>       return d;
>  }
>  
> -- 
> 1.7.9.5
> 
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to