Skip to content

Commit

Permalink
fix: return correct window in relative focus functions
Browse files Browse the repository at this point in the history
Update SystemWindowRelativeFocus methods to return `currentWindow`
instead of `nil`. This ensures that the current window is 
correctly returned when the focus shift functions are called.
  • Loading branch information
zenangst committed Jul 16, 2024
1 parent 1d61a2e commit cf53e38
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ enum SystemWindowRelativeFocusDown {
}
}

return nil
return currentWindow
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ enum SystemWindowRelativeFocusLeft {
}
}

return nil
return currentWindow
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ enum SystemWindowRelativeFocusRight {
}
}

return nil
return currentWindow
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ enum SystemWindowRelativeFocusUp {
}
}

return nil
return currentWindow
}
}

0 comments on commit cf53e38

Please sign in to comment.