Don't call xf86DisableRandR() on newer X.org Servers.
From 12387bf9a0b4a913869224f39a9aeef9bed1bdf7 Mon Sep 17 00:00:00 2001
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Date: Sun, 11 Sep 2022 04:43:21 +0900
Subject: [PATCH] Don't call xf86DisableRandR() on newer X.org Servers.
---
src/wsfb_driver.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/wsfb_driver.c b/src/wsfb_driver.c
index a0078fb..707df44 100644
--- a/src/wsfb_driver.c
+++ b/src/wsfb_driver.c
@@ -849,7 +849,9 @@ WsfbScreenInit(SCREEN_INIT_ARGS_DECL)
if (fPtr->rotate) {
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Enabling Driver Rotation, " "disabling RandR\n");
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 24
xf86DisableRandR();
+#endif
if (pScrn->bitsPerPixel == 24)
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"Rotation might be broken in 24 bpp\n");
--
2.36.1