From f133d0b391b93df6ef90e5f6db51ee36ec47c938 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sun, 26 Apr 2020 01:59:54 +0200 Subject: Revert "Deduplicate some state" I changed my mind, it's cleaner to keep things like this and will be consistent with views. --- src/output.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output.zig') diff --git a/src/output.zig b/src/output.zig index 3e969b6..a2b7de9 100644 --- a/src/output.zig +++ b/src/output.zig @@ -268,7 +268,7 @@ pub const Output = struct { while (it) |node| : (it = node.prev) { const layer_surface = &node.data; // Only mapped surfaces may gain focus - if (layer_surface.wlr_layer_surface.mapped and + if (layer_surface.mapped and layer_surface.wlr_layer_surface.current.keyboard_interactive) { break :outer layer_surface; -- cgit v1.2.3