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

Kevin Brace kevinbrace at kemper.freedesktop.org
Wed Mar 9 07:29:30 UTC 2016


 src/via_lvds.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8e95e6919263763f64e8e034a88132f71c5b6783
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Mar 8 23:26:01 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_lvds.c b/src/via_lvds.c
index 09c5763..fd5d4b9 100644
--- a/src/via_lvds.c
+++ b/src/via_lvds.c
@@ -1476,6 +1476,8 @@ static const xf86OutputFuncsRec via_lvds_funcs = {
     .create_resources   = via_lvds_create_resources,
 #ifdef RANDR_12_INTERFACE
     .set_property       = via_lvds_set_property,
+#endif
+#ifdef RANDR_13_INTERFACE
     .get_property       = via_lvds_get_property,
 #endif
     .dpms               = via_lvds_dpms,


More information about the Openchrome-devel mailing list