[comp.windows.x] X11 fix #46, server/dix/window.c, core dump on screen-save

RWS@ZERMATT.LCS.MIT.EDU.UUCP (11/05/87)

    SYNOPSIS:
	    xsetroot -solid <color>
	    where <color> translates to pixel value zero, will
	    cause the server to dump core when screen-saver
	    activates.
    FIX:

*** /tmp/,RCSt1002391	Thu Nov  5 10:23:57 1987
--- server/dix/window.c	Tue Nov  3 18:11:58 1987
***************
*** 22,28 ****
  
  ******************************************************************/
  
! /* $Header: window.c,v 1.172 87/10/28 10:54:50 rws Exp $ */
  
  #include "X.h"
  #define NEED_REPLIES
--- 22,28 ----
  
  ******************************************************************/
  
! /* $Header: window.c,v 1.173 87/11/03 18:10:25 rws Exp $ */
  
  #include "X.h"
  #define NEED_REPLIES
***************
*** 2902,2908 ****
  		     screenInfo.screen[i].height + RANDOM_WIDTH,
  		     0, InputOutput, mask, attributes, 0, 0, 
  		     WindowTable[i].visual, &result);
!                 if (attributes[0] == None)
  		{
  		    
  		    pWin->backgroundTile = pWin->parent->backgroundTile;
--- 2902,2908 ----
  		     screenInfo.screen[i].height + RANDOM_WIDTH,
  		     0, InputOutput, mask, attributes, 0, 0, 
  		     WindowTable[i].visual, &result);
!                 if (mask & CWBackPixmap)
  		{
  		    
  		    pWin->backgroundTile = pWin->parent->backgroundTile;