From bd49947f985f680e0ace5b19613081bcb7138497 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 1 Dec 2023 13:45:56 -0800 Subject: [PATCH] apprt/gtk: fix next split issue --- src/apprt/gtk/Split.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apprt/gtk/Split.zig b/src/apprt/gtk/Split.zig index 2f01aaa1d..7d6030c9b 100644 --- a/src/apprt/gtk/Split.zig +++ b/src/apprt/gtk/Split.zig @@ -250,7 +250,7 @@ fn directionNext(self: *const Split, from: Side) ?*Surface { // The previous value is the previous of the side that we are. return switch (side) { - .top_left => parent.directionNext(.bottom_right), + .top_left => parent.directionNext(.top_left), .bottom_right => parent.directionNext(.bottom_right), }; },