summaryrefslogtreecommitdiff
path: root/hw/xnest/GCOps.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xnest/GCOps.c')
-rw-r--r--hw/xnest/GCOps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/xnest/GCOps.c b/hw/xnest/GCOps.c
index a49e1da21..6dac0c527 100644
--- a/hw/xnest/GCOps.c
+++ b/hw/xnest/GCOps.c
@@ -142,10 +142,7 @@ static RegionPtr xnestBitBlitHelper(GCPtr pGC)
pending = True;
while (pending) {
- event = XCBPeekNextEvent(xnestConnection);
- if (xnestBitBlitPredicate(event))
- event = XCBWaitForEvent(xnestConnection);
-
+ event = XCBWaitForEvent(xnestConnection);
switch (event->response_type) {
case XCBNoExposure:
pending = False;
@@ -161,6 +158,9 @@ static RegionPtr xnestBitBlitHelper(GCPtr pGC)
REGION_APPEND(pGC->pScreen, pReg, pTmpReg);
pending = exp->count;
break;
+ default:
+ xnestHandleEvent(event);
+
}
}