From ffa604b5e6b60c5a98cc18819e70786b26b0b07c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 1 Sep 2009 07:22:17 -0700 Subject: Bug 3438: xdpyinfo reporting wrong information on xf86vidmode extension https://bugs.freedesktop.org/show_bug.cgi?id=3438 Signed-off-by: Alan Coopersmith --- xdpyinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xdpyinfo.c b/xdpyinfo.c index ede6465..e873831 100644 --- a/xdpyinfo.c +++ b/xdpyinfo.c @@ -823,7 +823,7 @@ print_XF86VidMode_info(Display *dpy, char *extname) if (modelines[i]->flags & V_INTERLACE) printf(" interlace"); if (modelines[i]->flags & V_CSYNC) printf(" composite"); if (modelines[i]->flags & V_PCSYNC) printf(" +csync"); - if (modelines[i]->flags & V_PCSYNC) printf(" -csync"); + if (modelines[i]->flags & V_NCSYNC) printf(" -csync"); if (modelines[i]->flags & V_DBLSCAN) printf(" doublescan"); printf("\n"); } @@ -846,7 +846,7 @@ print_XF86VidMode_info(Display *dpy, char *extname) if (modeline.flags & V_INTERLACE) printf(" interlace"); if (modeline.flags & V_CSYNC) printf(" composite"); if (modeline.flags & V_PCSYNC) printf(" +csync"); - if (modeline.flags & V_PCSYNC) printf(" -csync"); + if (modeline.flags & V_NCSYNC) printf(" -csync"); if (modeline.flags & V_DBLSCAN) printf(" doublescan"); printf("\n"); } -- cgit v1.2.3