From 8d68d1e7cf8782fe337e6f605d394a1df8b5d36d Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 4 Apr 2020 16:47:46 +0200 Subject: [PATCH] Fix iteration in handleFrame --- src/output.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output.zig b/src/output.zig index 936ee51..0ab7c9d 100644 --- a/src/output.zig +++ b/src/output.zig @@ -82,7 +82,7 @@ pub const Output = struct { // The first view in the list is "on top" so iterate in reverse. var it = ViewStack.reverseIterator( - output.root.views.first, + output.root.views.last, output.root.current_focused_tags, ); while (it.next()) |view| {