diff options
author | David Reveman <davidr@novell.com> | 2010-01-05 15:35:10 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2010-11-30 13:47:41 -0500 |
commit | 6dea617e0f71a6fc7937e3a1e10474fa87488284 (patch) | |
tree | 7e2972868d34eabffeaf63111937a1330095bbbe /Xext/panoramiX.c | |
parent | 1b3c57f075049250c6d059412af3d6954468a5b7 (diff) |
fixes: Add panoramix support
Taken from:
583f4dde81d8d5e9101b0289946e1914ea1ee124
With minor style fixes and ported to dixLookupResourceByType.
Reviewed-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xext/panoramiX.c')
-rw-r--r-- | Xext/panoramiX.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index b73c53f19..5a395fc49 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -53,6 +53,9 @@ Equipment Corporation. #include "servermd.h" #include "resource.h" #include "picturestr.h" +#ifdef XFIXES +#include "xfixesint.h" +#endif #include "modinit.h" #include "protocol-versions.h" @@ -581,6 +584,9 @@ void PanoramiXExtensionInit(int argc, char *argv[]) ProcVector[X_StoreNamedColor] = PanoramiXStoreNamedColor; PanoramiXRenderInit (); +#ifdef XFIXES + PanoramiXFixesInit (); +#endif } extern Bool CreateConnectionBlock(void); @@ -882,6 +888,9 @@ static void PanoramiXResetProc(ExtensionEntry* extEntry) int i; PanoramiXRenderReset (); +#ifdef XFIXES + PanoramiXFixesReset (); +#endif screenInfo.numScreens = PanoramiXNumScreens; for (i = 256; i--; ) ProcVector[i] = SavedProcVector[i]; |