gdctl: Fix printing Position

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4302>
This commit is contained in:
Jonas Ådahl 2025-02-25 18:43:35 +08:00 committed by Marge Bot
parent edb91a3cc6
commit 414156d0a1

View File

@ -31,6 +31,9 @@ class Position(NamedTuple):
x: int | None
y: int | None
def __str__(self):
return f"({self.x}, {self.y})"
class NamedEnum(Enum):
def __str__(self):