(submit/xnest-expose-events) 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
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/132
Fixes: 605e6764df - Fix Motif menu drawing in Xnest
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-15 16:15:02 +01:00
parent 4a4fb2817a
commit b5294d334f

View File

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