mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
tools/get-state: Round refresh rates to three decimal places
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2465>
This commit is contained in:
parent
a2636ce2df
commit
9a2c5d7d74
@ -113,7 +113,7 @@ class MonitorConfig:
|
||||
self.print_data(level=3, is_last=False, lines=lines,
|
||||
data=f'Dimension: {mode[1]}x{mode[2]}')
|
||||
self.print_data(level=3, is_last=False, lines=lines,
|
||||
data=f'Refresh rate: {mode[3]}')
|
||||
data=f'Refresh rate: {mode[3]:.3f}')
|
||||
self.print_data(level=3, is_last=False, lines=lines,
|
||||
data=f'Preferred scale: {mode[4]}')
|
||||
self.print_data(level=3, is_last=False, lines=lines,
|
||||
|
Loading…
Reference in New Issue
Block a user