Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xf86-video-wsfb/dist/src wsfb: disable xf86Di...



details:   https://anonhg.NetBSD.org/xsrc/rev/736580be1e24
branches:  trunk
changeset: 7157:736580be1e24
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Sep 10 19:25:44 2022 +0000

description:
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

diffstat:

 external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0477d4b72514 -r 736580be1e24 external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c
--- a/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c       Sat Sep 10 19:23:03 2022 +0000
+++ b/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c       Sat Sep 10 19:25:44 2022 +0000
@@ -1094,7 +1094,7 @@
        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)



Home | Main Index | Thread Index | Old Index