diff options
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Pixmap.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Pixmap.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c index 3deedda42..be154f9c2 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c @@ -217,7 +217,7 @@ PixmapPtr nxagentCreatePixmap(ScreenPtr pScreen, int width, int height, * id of the drawable in the checksum. */ - if (width != 0 && height != 0 && !nxagentGCTrap) + if (width != 0 && height != 0 && nxagentGCTrap == 0) { pPixmapPriv -> id = XCreatePixmap(nxagentDisplay, nxagentDefaultWindows[pScreen -> myNum], @@ -348,7 +348,7 @@ PixmapPtr nxagentCreatePixmap(ScreenPtr pScreen, int width, int height, fprintf(stderr, "Warning: Disabling render extension due to missing pixmap format.\n"); #endif - nxagentRenderTrap = True; + nxagentRenderTrap = 1; } nxagentDestroyPixmap(pPixmap); @@ -923,11 +923,11 @@ void nxagentReconnectPixmap(void *p0, XID x1, void *p2) return; } - nxagentSplitTrap = True; + nxagentSplitTrap = 1; *pBool = nxagentSynchronizeDrawableData((DrawablePtr) pPixmap, NEVER_BREAK, NULL); - nxagentSplitTrap = False; + nxagentSplitTrap = 0; if (!*pBool) { @@ -1256,11 +1256,11 @@ void nxagentSynchronizeShmPixmap(DrawablePtr pDrawable, int xPict, int yPict, saveTrap = nxagentGCTrap; - nxagentGCTrap = False; + nxagentGCTrap = 0; - nxagentSplitTrap = True; + nxagentSplitTrap = 1; - nxagentFBTrap = True; + nxagentFBTrap = 1; if ((data = malloc(length)) != NULL) { @@ -1281,9 +1281,9 @@ void nxagentSynchronizeShmPixmap(DrawablePtr pDrawable, int xPict, int yPict, nxagentGCTrap = saveTrap; - nxagentSplitTrap = False; + nxagentSplitTrap = 0; - nxagentFBTrap = False; + nxagentFBTrap = 0; nxagentFreeScratchGC(pGC); } |