mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-21 20:20:38 +01:00
Disable use of xf86RandR12TellChanged when unavailable (1.2 server).
When building the new mode setting code out-of-tree against an older server, don't use xf86RandR12TellChanged as that is a RandR 1.2 specific interface.
This commit is contained in:
parent
f9a0b93660
commit
1d7fbdfea4
1 changed files with 2 additions and 0 deletions
|
|
@ -1887,7 +1887,9 @@ xf86SetSingleMode (ScrnInfoPtr pScrn, DisplayModePtr desired, Rotation rotation)
|
|||
}
|
||||
}
|
||||
xf86DisableUnusedFunctions(pScrn);
|
||||
#ifdef RANDR_12_INTERFACE
|
||||
xf86RandR12TellChanged (pScrn->pScreen);
|
||||
#endif
|
||||
return ok;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue