summaryrefslogtreecommitdiff
path: root/mi/miexpose.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/miexpose.c')
-rw-r--r--mi/miexpose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/miexpose.c b/mi/miexpose.c
index ee3ef724a..088149be7 100644
--- a/mi/miexpose.c
+++ b/mi/miexpose.c
@@ -424,8 +424,8 @@ miSendExposures( WindowPtr pWin, RegionPtr pRgn, int dx, int dy)
XID realWin = 0;
if(!pWin->parent) {
- x = dixScreenOrigins[scrnum].x;
- y = dixScreenOrigins[scrnum].y;
+ x = screenInfo.screens[scrnum]->x;
+ y = screenInfo.screens[scrnum]->y;
pWin = screenInfo.screens[0]->root;
realWin = pWin->drawable.id;
} else if (scrnum) {