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

Reply via email to