From d19f4f7bf866660d2199cb726bc3708eb42f98dd Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Wed, 16 Oct 2019 10:24:15 -0400
Subject: Updates per wlroots layer shell changes

---
 sway/input/seat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sway/input')

diff --git a/sway/input/seat.c b/sway/input/seat.c
index ebd40343..7b0fe67d 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -1120,7 +1120,7 @@ void seat_set_focus_layer(struct sway_seat *seat,
 	}
 	assert(layer->mapped);
 	seat_set_focus_surface(seat, layer->surface, true);
-	if (layer->layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) {
+	if (layer->current.layer >= ZWLR_LAYER_SHELL_V1_LAYER_TOP) {
 		seat->focused_layer = layer;
 	}
 }
-- 
cgit v1.2.3