mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-18 19:52:21 +00:00
Add mode origins and output options. Fix memmoves in resource free funcs.
Output options and mode origins both affected driver ABI. memmove mistakes were causing 'Freeing resource which isn't there' messages. Prune unused non-user defined modes from available list now.
This commit is contained in:
parent
b36fde9257
commit
c4f30c6353
7 changed files with 171 additions and 44 deletions
|
|
@ -52,7 +52,7 @@ miRRCrtcSet (ScreenPtr pScreen,
|
|||
int y,
|
||||
Rotation rotation,
|
||||
int numOutput,
|
||||
RROutputPtr *outputs)
|
||||
RROutputConfigPtr outputs)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
|
@ -114,6 +114,10 @@ miRandRInit (ScreenPtr pScreen)
|
|||
return FALSE;
|
||||
if (!RROutputSetCrtcs (output, &crtc, 1))
|
||||
return FALSE;
|
||||
if (!RROutputSetPossibleOptions (output, 0))
|
||||
return FALSE;
|
||||
if (!RROutputSetCurrentOptions (output, 0))
|
||||
return FALSE;
|
||||
if (!RROutputSetConnection (output, RR_Connected))
|
||||
return FALSE;
|
||||
RRCrtcNotify (crtc, mode, 0, 0, RR_Rotate_0, 1, &output);
|
||||
|
|
|
|||
Loading…
Reference in a new issue