From b095f26a901b82cf5685f45715ce6e6a407c27ab Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 10 Aug 2024 22:47:08 +0700 Subject: [PATCH] correct type hint --- xpra/client/mixins/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpra/client/mixins/display.py b/xpra/client/mixins/display.py index 4ef3e2a265..3cc53fda34 100644 --- a/xpra/client/mixins/display.py +++ b/xpra/client/mixins/display.py @@ -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)