diff options
author | Federico Mena Quintero <federico@novell.com> | 2010-04-09 14:41:12 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@novell.com> | 2010-04-09 14:41:12 -0500 |
commit | 415ff9f57669a3f3e5b0e8550b5d027579424266 (patch) | |
tree | 628203cf6e819b66440675782b400750e372e1d1 | |
parent | adde41e2a4ee87f764150343cbfa39b2c59cb4e4 (diff) | |
download | gnome-desktop-randr-assignment-errors.tar.gz |
Say when we start trying to assign a CRTCrandr-assignment-errors
We use this to know if there were CRTCs at all, as opposed to not having
any modes for a particular CRTC.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
-rw-r--r-- | libgnome-desktop/gnome-rr-config.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libgnome-desktop/gnome-rr-config.c b/libgnome-desktop/gnome-rr-config.c index 6db57dde..5bc573b1 100644 --- a/libgnome-desktop/gnome-rr-config.c +++ b/libgnome-desktop/gnome-rr-config.c @@ -1631,15 +1631,19 @@ real_assign_crtcs (GnomeRRScreen *screen, for (i = 0; crtcs[i] != NULL; ++i) { + GnomeRRCrtc *crtc = crtcs[i]; + int crtc_id = gnome_rr_crtc_get_id (crtc); int pass; + g_string_append_printf (accumulated_error, + _("Trying modes for CRTC %d\n"), + crtc_id); + /* Make two passes, one where frequencies must match, then * one where they don't have to */ for (pass = 0; pass < 2; ++pass) { - GnomeRRCrtc *crtc = crtcs[i]; - int crtc_id = gnome_rr_crtc_get_id (crtc); GnomeRROutput *gnome_rr_output = gnome_rr_screen_get_output_by_name (screen, output->name); GnomeRRMode **modes = gnome_rr_output_list_modes (gnome_rr_output); int j; |