[comp.windows.x] Multi-screen R4 Xsun fix-3 patch

kaleb@mars.jpl.nasa.gov (Kaleb Keithley) (03/07/90)

Since I did not retain the names of all the people who asked me for JPL's
multi-screen patches to R4 Xsun, I am posting this here.  Please excuse the
use of the bandwidth if you are not interested in Sun hardware or multi-screen
capability.

Fix-3 changed three files in the serve, dix/window.c, ddx/mfb/mfbbitblt.c,
and ddx/cfb/cfbbitblt.c.  Of the three, mfbbitblt.c required a two line
change to support multiple screens.  To simplify applying fix-3, you should
apply the MIT fix-3 patches to the original MIT ddx/mfb/mfbbitblt.c, and
then apply the attached patch for multi-screen capability.

If you are interested in the complete set of multi-screen patches, send me
email at kaleb@mars.jpl.nasa.gov.  Please don't do this if you already have
received the complete patches from me.  Thank you.

We will probably be setting up an anon ftp site here soon, and the patches 
and other X stuff will be available.  I'll post a notice to that effect when 
we do!

-----------------------------  CUT HERE  --------------------------

*** server/ddx/mfb/mfbbitblt.c	Mon Mar  5 16:19:09 1990
--- server++/ddx/mfb/mfbbitblt.c	Tue Mar  6 08:22:06 1990
***************
*** 2,7 ****
--- 2,8 ----
  /***********************************************************
  Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
  and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
+ Copyright 1990 by Jet Propulsion Laboratory, Pasadena, CA
  
                          All Rights Reserved
  
***************
*** 1031,1036 ****
--- 1032,1039 ----
  	    return FALSE;
  	copyPlaneGeneration = serverGeneration;
      }
+     if (!AllocateScreenPrivate(pScreen))
+         return FALSE;
      pScreen->devPrivates[copyPlaneScreenIndex].ptr = (pointer) proc;
      return TRUE;
  }
kaleb@mars.jpl.nasa.gov            Jet Propeller Labs
Kaleb Keithley

spelling and grammar flames > /dev/null