aboutsummaryrefslogtreecommitdiffstats
path: root/sway/lock.c
diff options
context:
space:
mode:
authorLibravatar Kirill Primak <vyivel@eclair.cafe>2023-03-05 23:49:45 +0300
committerLibravatar Simon Ser <contact@emersion.fr>2023-06-02 20:11:42 +0200
commitc9e1dab3187d22ada0232d699e759a628e0ed185 (patch)
tree2838a14e3144fca71a7c693cd36ced33bf622bf7 /sway/lock.c
parentxwayland: don't rely on event source being data (diff)
downloadsway-c9e1dab3187d22ada0232d699e759a628e0ed185.tar.gz
sway-c9e1dab3187d22ada0232d699e759a628e0ed185.tar.zst
sway-c9e1dab3187d22ada0232d699e759a628e0ed185.zip
chore: chase wlroots map logic unification
Diffstat (limited to 'sway/lock.c')
-rw-r--r--sway/lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/lock.c b/sway/lock.c
index 6d9e991b..ae44aa40 100644
--- a/sway/lock.c
+++ b/sway/lock.c
@@ -60,7 +60,7 @@ static void destroy_lock_surface(struct sway_session_lock_surface *surf) {
60 60
61 struct wlr_session_lock_surface_v1 *other; 61 struct wlr_session_lock_surface_v1 *other;
62 wl_list_for_each(other, &server.session_lock.lock->surfaces, link) { 62 wl_list_for_each(other, &server.session_lock.lock->surfaces, link) {
63 if (other != surf->lock_surface && other->mapped) { 63 if (other != surf->lock_surface && other->surface->mapped) {
64 next_focus = other->surface; 64 next_focus = other->surface;
65 break; 65 break;
66 } 66 }