gdctl: Fix printing Position
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4302>
This commit is contained in:
parent
edb91a3cc6
commit
414156d0a1
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user