Xnest: fix broken exposure events

Xnest fails to properly pass through expose events: the coordinates are
miscalculated in xnestCollectExposures(), before miSendExposures() is called.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1735
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1634>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-08-02 12:18:34 +02:00 committed by Alan Coopersmith
parent ea042cd6ef
commit e1c47ad123

View File

@ -96,7 +96,7 @@ xnestCollectExposures(void)
RegionInit(&Rgn, &Box, 1); RegionInit(&Rgn, &Box, 1);
miSendExposures(pWin, &Rgn, Box.x2, Box.y2); miSendExposures(pWin, &Rgn, Box.x1, Box.y1);
} }
} }
} }