Fix iteration in handleFrame

This commit is contained in:
Isaac Freund 2020-04-04 16:47:46 +02:00
parent 424a16fe94
commit 8d68d1e7cf
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -82,7 +82,7 @@ pub const Output = struct {
// The first view in the list is "on top" so iterate in reverse. // The first view in the list is "on top" so iterate in reverse.
var it = ViewStack.reverseIterator( var it = ViewStack.reverseIterator(
output.root.views.first, output.root.views.last,
output.root.current_focused_tags, output.root.current_focused_tags,
); );
while (it.next()) |view| { while (it.next()) |view| {