mirror of
https://github.com/X11Libre/xf86-video-dummy.git
synced 2026-03-24 01:24:47 +00:00
Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)
Already effectively required by use of XNFcallocarray() introduced in xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-dummy/-/merge_requests/10>
This commit is contained in:
@@ -56,7 +56,7 @@ XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
|
||||
XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
|
||||
|
||||
# Obtain compiler/linker options for the driver dependencies
|
||||
PKG_CHECK_MODULES(XORG, [xorg-server >= 1.4.99.901] xproto fontsproto $REQUIRED_MODULES)
|
||||
PKG_CHECK_MODULES(XORG, [xorg-server >= 1.18] xproto fontsproto $REQUIRED_MODULES)
|
||||
|
||||
# Checks for libraries.
|
||||
|
||||
|
||||
@@ -1027,11 +1027,8 @@ DUMMYCreateWindow(WindowPtr pWin)
|
||||
return(ret);
|
||||
|
||||
if(dPtr->prop == FALSE) {
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 8
|
||||
pWinRoot = WindowTable[DUMMYScrn->pScreen->myNum];
|
||||
#else
|
||||
pWinRoot = DUMMYScrn->pScreen->root;
|
||||
#endif
|
||||
|
||||
if (! ValidAtom(VFB_PROP))
|
||||
VFB_PROP = MakeAtom(VFB_PROP_NAME, strlen(VFB_PROP_NAME), 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user