summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2006-09-20 22:43:05 -0700
committerKeith Packard <keithp@guitar.keithp.com>2006-09-20 22:43:05 -0700
commit219546fd76750f358ffb6738f17b9237c58c15a6 (patch)
treec3e770e0146d4fb08963aae25013b0bca1fcc20a /randr/randrstr.h
parentbde0a4c12cb393a6d7f1552b067624da1b0502ae (diff)
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.
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r--randr/randrstr.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index e459452ff..0b8c61e1f 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -305,6 +305,12 @@ RRScreenSizeSet (ScreenPtr pScreen,
CARD32 mmHeight);
/*
+ * Send ConfigureNotify event to root window when 'something' happens
+ */
+void
+RRSendConfigNotify (ScreenPtr pScreen);
+
+/*
* screen dispatch
*/
int
@@ -629,4 +635,8 @@ ProcRRListOutputProperties (ClientPtr client);
int
ProcRRDeleteOutputProperty (ClientPtr client);
+/* rrxinerama.c */
+void
+RRXineramaExtensionInit(void);
+
#endif /* _RANDRSTR_H_ */