mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 10:30:47 -05:00
kms-impl-simple: Include mode name in error message
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1007
(cherry picked from commit 7733f88168
)
This commit is contained in:
parent
a9a0110818
commit
be777dbd79
@ -247,7 +247,8 @@ process_mode_set (MetaKmsImpl *impl,
|
|||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
{
|
{
|
||||||
g_set_error (error, G_IO_ERROR, g_io_error_from_errno (-ret),
|
g_set_error (error, G_IO_ERROR, g_io_error_from_errno (-ret),
|
||||||
"Failed to set mode on CRTC %u: %s",
|
"Failed to set mode %s on CRTC %u: %s",
|
||||||
|
mode_set->drm_mode ? mode_set->drm_mode->name : "off",
|
||||||
meta_kms_crtc_get_id (crtc),
|
meta_kms_crtc_get_id (crtc),
|
||||||
g_strerror (-ret));
|
g_strerror (-ret));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user