mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 15:48:05 +02:00
shell: Fix activate logic on surface map.
It should activate the newly mapped surface if not locked.
This commit is contained in:
parent
477333285e
commit
ba5d2d76af
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue