mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
monitor-config-manager: Only report Hz to 3 decimal places
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2465>
This commit is contained in:
parent
b5169f2567
commit
8e5f5fbe54
@ -324,7 +324,7 @@ assign_monitor_crtcs (MetaMonitorManager *manager,
|
|||||||
if (!monitor_mode)
|
if (!monitor_mode)
|
||||||
{
|
{
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||||
"Invalid mode %dx%d (%f) for monitor '%s %s'",
|
"Invalid mode %dx%d (%.3f) for monitor '%s %s'",
|
||||||
monitor_mode_spec->width, monitor_mode_spec->height,
|
monitor_mode_spec->width, monitor_mode_spec->height,
|
||||||
monitor_mode_spec->refresh_rate,
|
monitor_mode_spec->refresh_rate,
|
||||||
monitor_spec->vendor, monitor_spec->product);
|
monitor_spec->vendor, monitor_spec->product);
|
||||||
|
Loading…
Reference in New Issue
Block a user