Skip to content

Commit

Permalink
correct type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Aug 10, 2024
1 parent 97ef0d5 commit b095f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/client/mixins/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def srect(self, x, y, w, h) -> tuple[int, int, int, int]:
""" convert rectangle coordinates from server to client """
return self.sx(x), self.sy(y), self.sx(w), self.sy(h)

def sp(self, x, y) -> tuple[float, float]:
def sp(self, x, y) -> tuple[int, int]:
""" convert X,Y coordinates from server to client """
return self.sx(x), self.sy(y)

Expand Down

0 comments on commit b095f26

Please sign in to comment.