From ba5d2d76afe3b209df4035803ca6c7f185bf352f Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Wed, 4 Dec 2013 17:49:55 -0200 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 de54e370..05d78146 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);