diff --git a/src/Surface.zig b/src/Surface.zig index 69a390c2d..4ff25992a 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -5394,10 +5394,8 @@ pub fn performBindingAction(self: *Surface, action: input.Binding.Action) !bool .{ .surface = self }, .goto_window, switch (direction) { - inline else => |tag| @field( - apprt.action.GotoWindow, - @tagName(tag), - ), + .next => apprt.action.GotoWindow.next, + .previous => apprt.action.GotoWindow.previous, }, ),