Replaced direction switch, direclty handling next and previous now
parent
b344c978d0
commit
6b8a7e1dd1
|
|
@ -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,
|
||||
},
|
||||
),
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue