mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-26 01:59:57 +00:00
Add support for on-the-fly screen rotation when supported by hardware (Aron
Plattner).
This commit is contained in:
parent
4baf002941
commit
d3c98fed2c
4 changed files with 42 additions and 10 deletions
|
|
@ -222,7 +222,7 @@ xf86SwitchMode(ScreenPtr pScreen, DisplayModePtr mode)
|
|||
if (mode == pScr->currentMode)
|
||||
return TRUE;
|
||||
|
||||
if (mode->HDisplay > pScreen->width || mode->VDisplay > pScreen->height)
|
||||
if (mode->HDisplay > pScr->virtualX || mode->VDisplay > pScr->virtualY)
|
||||
return FALSE;
|
||||
|
||||
pCursorScreen = miPointerCurrentScreen();
|
||||
|
|
|
|||
Loading…
Reference in a new issue