summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-03-05 10:28:15 -0500
committerAdam Jackson <ajax@redhat.com>2018-03-05 10:28:15 -0500
commit8382e6bb0c76a8029493eae3f2d7a3dbfd0cfc12 (patch)
treebd59ec0d4a99df0c67f1ea875d8249b2e2e5d76b /src
parent09aaa3d1fae4aeb099b16e7a046151761bcdea95 (diff)
gx: Fix RANDR initialization for xserver 1.20
xf86DisableRandR() doesn't exist anymore, and we don't need it anyway, the core code will notice that we set up RANDR ourselves. Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/gx_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gx_driver.c b/src/gx_driver.c
index ab57df1..4de336e 100644
--- a/src/gx_driver.c
+++ b/src/gx_driver.c
@@ -1426,7 +1426,9 @@ GXScreenInit(SCREEN_INIT_ARGS_DECL)
/* Set up RandR */
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 24
xf86DisableRandR(); /* We provide our own RandR goodness */
+#endif
/* Try to set up the shadow FB for rotation */