diff options
Diffstat (limited to 'Xprint/ps/PsWindow.c')
-rw-r--r-- | Xprint/ps/PsWindow.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Xprint/ps/PsWindow.c b/Xprint/ps/PsWindow.c index 3a9a7ed2a..87d8143aa 100644 --- a/Xprint/ps/PsWindow.c +++ b/Xprint/ps/PsWindow.c @@ -73,9 +73,11 @@ in this Software without prior written authorization from The Open Group. ** ********************************************************* ** ********************************************************************/ +/* $XFree86: xc/programs/Xserver/Xprint/ps/PsWindow.c,v 1.12 2001/12/19 21:55:59 dawes Exp $ */ #include <stdio.h> #include <string.h> +#include <sys/types.h> #include <sys/wait.h> #include "mistruct.h" @@ -85,8 +87,7 @@ in this Software without prior written authorization from The Open Group. #include "Ps.h" -extern WindowPtr *WindowTable; - +#if 0 /* * The following list of strings defines the properties which will be * placed on the screen's root window if the property was defined in @@ -103,7 +104,7 @@ static char *propStrings[] = { DT_PRINT_PAGE_COMMAND, (char *)NULL }; - +#endif /* * PsCreateWindow - watch for the creation of the root window. @@ -218,7 +219,6 @@ PsPaintWindow( RegionPtr pRegion, int what) { - int status; WindowPtr pRoot; #define FUNCTION 0 @@ -377,14 +377,14 @@ PsPaintWindow( } break; case GCClipMask: - if( (pointer)pGC->clientClipType!=(pointer)CT_NONE ) + if( (pointer)(long)pGC->clientClipType!=(pointer)CT_NONE ) { gcmask |= index; gcval[i++] = (pointer)CT_NONE; } break; case GCSubwindowMode: - if( (pointer)pGC->subWindowMode!=newValues[SUBWINDOW] ) + if( (pointer)(long)pGC->subWindowMode!=newValues[SUBWINDOW] ) { gcmask |= index; gcval[i++] = newValues[SUBWINDOW]; @@ -398,7 +398,7 @@ PsPaintWindow( } break; case GCFillStyle: - if( (pointer)pGC->fillStyle!=newValues[FILLSTYLE] ) + if( (pointer)(long)pGC->fillStyle!=newValues[FILLSTYLE] ) { gcmask |= index; gcval[i++] = newValues[FILLSTYLE]; |