Steal Xinerama code from SiS driver. Add missing files.

Provide a Xinerama implementation when DIX version isn't enabled. This
version exposes each crtc as a separate 'screen' and reports the size of
that patch. The extension also sends ConfigureNotify events to the root
window whenever crtcs change so that applications will re-fetch xinerama
information. This actually works for metacity.
This commit is contained in:
Keith Packard 2006-09-20 22:43:05 -07:00
commit 219546fd76
8 changed files with 1210 additions and 3 deletions

View file

@ -304,6 +304,12 @@ RRScreenSizeSet (ScreenPtr pScreen,
CARD32 mmWidth,
CARD32 mmHeight);
/*
* Send ConfigureNotify event to root window when 'something' happens
*/
void
RRSendConfigNotify (ScreenPtr pScreen);
/*
* screen dispatch
*/
@ -629,4 +635,8 @@ ProcRRListOutputProperties (ClientPtr client);
int
ProcRRDeleteOutputProperty (ClientPtr client);
/* rrxinerama.c */
void
RRXineramaExtensionInit(void);
#endif /* _RANDRSTR_H_ */