mirror of
https://github.com/swaywm/sway.git
synced 2025-11-20 06:59:46 -05:00
chore: chase wlroots map logic unification
This commit is contained in:
parent
72881b5d12
commit
c9e1dab318
9 changed files with 90 additions and 51 deletions
|
|
@ -60,7 +60,7 @@ static void destroy_lock_surface(struct sway_session_lock_surface *surf) {
|
|||
|
||||
struct wlr_session_lock_surface_v1 *other;
|
||||
wl_list_for_each(other, &server.session_lock.lock->surfaces, link) {
|
||||
if (other != surf->lock_surface && other->mapped) {
|
||||
if (other != surf->lock_surface && other->surface->mapped) {
|
||||
next_focus = other->surface;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue