Skip to content

Commit

Permalink
Replace half with neighbor
Browse files Browse the repository at this point in the history
This was an oversight in the last commit.
  • Loading branch information
Syphdias committed Nov 13, 2022
1 parent ee70308 commit b0e770a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i3swap.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def find_swapee(
if swapee == "last":
swapee_index = -1

# we found the focused half, now we need to decent into it
# we found the focused neighbor, now we need to decent into it
# to find the swapee (first container we find)
while len(swapee_neighbor.nodes) > 0:
swapee_neighbor = swapee_neighbor.nodes[swapee_index]
Expand Down

0 comments on commit b0e770a

Please sign in to comment.