aboutsummaryrefslogtreecommitdiff
path: root/xbmc-xrandr.c
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2014-10-15 13:21:07 +0200
committerRainer Hochecker <fernetmenta@online.de>2014-10-31 21:45:12 +0100
commitcadfd73ad6f7c288283ec0170740f28b138e703f (patch)
tree6d55ef123d1cc47d9fab50ba23c37da452d0d6c2 /xbmc-xrandr.c
parentce924e98a4f6be2e31dec8fa5846307cbe56f273 (diff)
X11: expose crtc needed by drm video sync
Diffstat (limited to 'xbmc-xrandr.c')
-rw-r--r--xbmc-xrandr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc-xrandr.c b/xbmc-xrandr.c
index 3c686e2059..7d164d0a31 100644
--- a/xbmc-xrandr.c
+++ b/xbmc-xrandr.c
@@ -3005,9 +3005,9 @@ main (int argc, char **argv)
if (mode)
{
if (crtc_info) {
- printf (" w=\"%d\" h=\"%d\" x=\"%d\" y=\"%d\"",
+ printf (" w=\"%d\" h=\"%d\" x=\"%d\" y=\"%d\" crtc=\"%d\"",
crtc_info->width, crtc_info->height,
- crtc_info->x, crtc_info->y);
+ crtc_info->x, crtc_info->y, crtc->crtc.index);
} else {
printf (" w=\"%d\" h=\"%d\" x=\"%d\" y=\"%d\"",
mode->width, mode->height, output->x, output->y);