summaryrefslogtreecommitdiff
path: root/hw/xnest
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xnest')
-rw-r--r--hw/xnest/Events.c2
-rw-r--r--hw/xnest/GCOps.c4
-rw-r--r--hw/xnest/Pixmap.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/hw/xnest/Events.c b/hw/xnest/Events.c
index 194ec630a..62e17cb66 100644
--- a/hw/xnest/Events.c
+++ b/hw/xnest/Events.c
@@ -67,7 +67,7 @@ SetTimeSinceLastInputEvent(void)
static Bool
xnestExposurePredicate(Display *display, XEvent *event, char *args)
{
- return (event->type == Expose || event->type == ProcessedExpose);
+ return event->type == Expose || event->type == ProcessedExpose;
}
static Bool
diff --git a/hw/xnest/GCOps.c b/hw/xnest/GCOps.c
index 6b76fc28b..829b86b2b 100644
--- a/hw/xnest/GCOps.c
+++ b/hw/xnest/GCOps.c
@@ -117,7 +117,7 @@ xnestGetImage(DrawablePtr pDrawable, int x, int y, int w, int h,
static Bool
xnestBitBlitPredicate(Display *display, XEvent *event, char *args)
{
- return (event->type == GraphicsExpose || event->type == NoExpose);
+ return event->type == GraphicsExpose || event->type == NoExpose;
}
static RegionPtr
@@ -158,7 +158,7 @@ xnestBitBlitHelper(GCPtr pGC)
RegionDestroy(pTmpReg);
RegionValidate(pReg, &overlap);
- return(pReg);
+ return pReg;
}
}
diff --git a/hw/xnest/Pixmap.c b/hw/xnest/Pixmap.c
index a0968b94d..3a92ffde8 100644
--- a/hw/xnest/Pixmap.c
+++ b/hw/xnest/Pixmap.c
@@ -133,5 +133,5 @@ xnestPixmapToRegion(PixmapPtr pPixmap)
RegionValidate(pReg, &overlap);
- return(pReg);
+ return pReg;
}