From cd9d4ee395b8b3cf7e12227ea2f8be640e968aab Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 18 Apr 2020 21:15:03 +0200 Subject: Grab seats focused on the output for layer shell --- src/seat.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/seat.zig') diff --git a/src/seat.zig b/src/seat.zig index 7407474..cb107fc 100644 --- a/src/seat.zig +++ b/src/seat.zig @@ -155,7 +155,7 @@ pub const Seat = struct { // Focus the layer surface self.sendKeyboardEnter(layer_to_focus.wlr_layer_surface.surface); self.focused_layer = layer_to_focus; - self.focused_output = layer_to_focus.output; + std.debug.assert(self.focused_output == layer_to_focus.output); } else { // If there is a layer currently focused, unfocus it if (self.focused_layer != null) { -- cgit v1.2.3