summaryrefslogtreecommitdiff
path: root/hw/xnest/Events.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xnest/Events.c')
-rw-r--r--hw/xnest/Events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xnest/Events.c b/hw/xnest/Events.c
index 277718ba3..194ec630a 100644
--- a/hw/xnest/Events.c
+++ b/hw/xnest/Events.c
@@ -93,7 +93,7 @@ xnestCollectExposures(void)
Box.x2 = Box.x1 + X.xexpose.width;
Box.y2 = Box.y1 + X.xexpose.height;
- REGION_INIT(pWin->drawable.pScreen, &Rgn, &Box, 1);
+ RegionInit(&Rgn, &Box, 1);
miSendExposures(pWin, &Rgn, Box.x2, Box.y2);
}