[Openchrome-devel] xf86-video-openchrome: src/via_outputs.c

Kevin Brace kevinbrace at kemper.freedesktop.org
Wed Mar 9 06:13:21 UTC 2016


 src/via_outputs.c |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit aed2e6648e9d1b95855c64b3a1edf6c0bcc18c9c
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Mar 8 21:07:11 2016 -0800

    get_property callback of xf86OutputFuncsRec and RandR compilation error
    
    get_property callback of xf86OutputFuncsRec structure is supported by
    RandR version 1.3, not version 1.2.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_outputs.c b/src/via_outputs.c
index d97d585..c4ebebe 100644
--- a/src/via_outputs.c
+++ b/src/via_outputs.c
@@ -375,6 +375,8 @@ static const xf86OutputFuncsRec via_tv_funcs = {
     .create_resources   = via_tv_create_resources,
 #ifdef RANDR_12_INTERFACE
     .set_property       = via_tv_set_property,
+#endif
+#ifdef RANDR_13_INTERFACE
     .get_property       = via_tv_get_property,
 #endif
     .dpms               = via_tv_dpms,
@@ -639,6 +641,8 @@ static const xf86OutputFuncsRec via_dp_funcs = {
     .create_resources   = via_dp_create_resources,
 #ifdef RANDR_12_INTERFACE
     .set_property       = via_dp_set_property,
+#endif
+#ifdef RANDR_13_INTERFACE
     .get_property       = via_dp_get_property,
 #endif
     .dpms               = via_dp_dpms,
@@ -888,6 +892,8 @@ static const xf86OutputFuncsRec via_analog_funcs = {
     .create_resources   = via_analog_create_resources,
 #ifdef RANDR_12_INTERFACE
     .set_property       = via_analog_set_property,
+#endif
+#ifdef RANDR_13_INTERFACE
     .get_property       = via_analog_get_property,
 #endif
     .dpms               = via_analog_dpms,
@@ -1047,6 +1053,8 @@ static const xf86OutputFuncsRec via_dvi_funcs = {
     .create_resources   = via_dvi_create_resources,
 #ifdef RANDR_12_INTERFACE
     .set_property       = via_dvi_set_property,
+#endif
+#ifdef RANDR_13_INTERFACE
     .get_property       = via_dvi_get_property,
 #endif
     .dpms               = via_dvi_dpms,


More information about the Openchrome-devel mailing list