[PATCH] shell: Fix activate logic on surface map.
Eoff, Ullysses A
ullysses.a.eoff at intel.com
Wed Dec 4 12:50:01 PST 2013
Tested and works good now... Thanks!
U. Artie Eoff
> -----Original Message-----
> From: wayland-devel-bounces at lists.freedesktop.org [mailto:wayland-devel-bounces at lists.freedesktop.org] On Behalf Of Rafael
> Antognolli
> Sent: Wednesday, December 04, 2013 11:50 AM
> To: wayland-devel at 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list