gdctl: Use Dimenison.__str__() to print mode dimension
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4302>
This commit is contained in:
parent
078ba5ea88
commit
1d88f82d0d
@ -920,12 +920,11 @@ class MonitorsState:
|
||||
if not show_properties:
|
||||
return
|
||||
|
||||
width, height = mode.resolution
|
||||
print_data(
|
||||
level=3,
|
||||
is_last=False,
|
||||
lines=lines,
|
||||
data=f"Dimension: {width}x{height}",
|
||||
data=f"Dimension: {mode.resolution}",
|
||||
)
|
||||
print_data(
|
||||
level=3,
|
||||
|
Loading…
x
Reference in New Issue
Block a user