Tested and works good now... Thanks!

U. Artie Eoff

> -----Original Message-----
> From: wayland-devel-boun...@lists.freedesktop.org 
> [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Rafael
> Antognolli
> Sent: Wednesday, December 04, 2013 11:50 AM
> To: wayland-devel@lists.freedesktop.org
> Cc: Antognolli, Rafael
> Subject: [PATCH] shell: Fix activate logic on surface map.
> 
> It should activate the newly mapped surface if not locked.
> ---
>  desktop-shell/shell.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
> index de54e37..05d7814 100644
> --- a/desktop-shell/shell.c
> +++ b/desktop-shell/shell.c
> @@ -4860,7 +4860,7 @@ map(struct desktop_shell *shell, struct shell_surface 
> *shsurf,
>               if (shsurf->state.relative &&
>                   shsurf->transient.flags == 
> WL_SHELL_SURFACE_TRANSIENT_INACTIVE)
>                       break;
> -             if (!shell->locked)
> +             if (shell->locked)
>                       break;
>               wl_list_for_each(seat, &compositor->seat_list, link)
>                       activate(shell, shsurf->surface, seat);
> --
> 1.8.3.1
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to