summaryrefslogtreecommitdiff
path: root/xdpyinfo.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-09-01 07:22:17 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-09-01 07:22:17 -0700
commitffa604b5e6b60c5a98cc18819e70786b26b0b07c (patch)
treee9ecbc541a8f885cb48bb95a006fd8eaa1c08d92 /xdpyinfo.c
parentbb7e3c9ac00d5b3933b69470e03fadfe1800f7ae (diff)
Bug 3438: xdpyinfo reporting wrong information on xf86vidmode extension
https://bugs.freedesktop.org/show_bug.cgi?id=3438 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r--xdpyinfo.c4
1 files 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");
}