Module Name:    xsrc
Committed By:   tsutsui
Date:           Sat Sep 10 19:25:44 UTC 2022

Modified Files:
        xsrc/external/mit/xf86-video-wsfb/dist/src: wsfb_driver.c

Log Message:
wsfb: disable xf86DisableRandR() only on newer X.org Servers.

ABI_VIDEODRV_VERSION has been bumped to 24.0 since xorg-server-1.20.0:
 
https://gitlab.freedesktop.org/xorg/xserver/-/commit/3f9507ed2f7246b2c8cf2bbc430cc99c5f35c92a
 
https://gitlab.freedesktop.org/xorg/xserver/-/commit/dd00e5466a0e4ea313d1860824da4123692827ed


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 \
    xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c
diff -u xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c:1.46 xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c:1.47
--- xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c:1.46	Sat Sep 10 19:23:03 2022
+++ xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c	Sat Sep 10 19:25:44 2022
@@ -1094,7 +1094,7 @@ WsfbScreenInit(SCREEN_INIT_ARGS_DECL)
 	if (fPtr->rotate) {
 		xf86DrvMsg(pScrn->scrnIndex, X_INFO,
 		    "Enabling Driver Rotation, " "disabling RandR\n");
-#if 0
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 24
 		xf86DisableRandR();
 #endif
 		if (pScrn->bitsPerPixel == 24)

Reply via email to